home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 11 / Cream of the Crop 11-2.iso / os2 / pmp40d.zip / PMPATROL.HLP (.txt) < prev    next >
OS/2 Help File  |  1996-01-23  |  141KB  |  5,142 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. License Information ΓòÉΓòÉΓòÉ
  3.  
  4.                                   PM Patrol(tm)
  5.  
  6. (c) Copyright 1993-95, WallyWare, All rights reserved.
  7.  
  8. Unregistered copies of PM Patrol are freely distributable and copying is 
  9. encouraged. If you like it, tell a friend. If not, tell us. 
  10.  
  11. PM Patrol is supplied "as is" without any warranties either expressed or 
  12. implied. 
  13.  
  14. IN NO EVENT WILL WALLYWARE BE LIABLE TO YOU FOR ANY INCIDENTAL, SPECIAL, 
  15. PUNITIVE, EXEMPLARY, OR CONSEQUENTIAL DAMAGES ARISING FROM OR CONNECTED WITH 
  16. THIS AGREEMENT OR USE OF THIS PRODUCT, REGARDLESS WHETHER WE KNOW OR HAVE 
  17. REASON TO KNOW OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES MAY NOT ALLOW 
  18. EXCLUSION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES AND SO THE FOREGOING EXCLUSION 
  19. MAY NOT APPLY TO YOU. 
  20.  
  21. The version of PM Patrol is distributed under a Software License Agreement 
  22. which is included with this version of PM Patrol and available for preview 
  23. without registration required. 
  24.  
  25. If you have any questions about your rights or responsibilities concerning the 
  26. use of this product please contact: 
  27.  
  28. WallyWare
  29. 2210 Kingston Drive
  30. Wheaton, Illinois  60187  USA
  31.  
  32. Phone:    1-708-510-7412 (1-630-510-7412 after 7/96)
  33. Internet:  wally@interaccess.com
  34. CompuServe: 72702,2320
  35.  
  36.  
  37. ΓòÉΓòÉΓòÉ 2. Introduction ΓòÉΓòÉΓòÉ
  38.  
  39.                                   PM Patrol(tm)
  40.  
  41. PM Patrol is robust, yet easy to use resource monitoring and management 
  42. software for OS/2 version 2.1 and higher.  The software is ShareWare. 
  43.  
  44. Allow me to introduce PM Patrol and describe some quick-hits to help you get 
  45. going.  This introduction is brief, but important. 
  46.  
  47. To identify the current version, the licensed name, and serial number for this 
  48. copy of PM Patrol, refer to "Product Information" accessable from several PM 
  49. Patrol menus. The serial number is necessary when seeking technical support 
  50. from WallyWare. 
  51.  
  52. PM Patrol is designed to run all the time, from bootup to shutdown. Always 
  53. visible and accessible, PM Patrol offers quick access to many different 
  54. monitors and related utilities. 
  55.  
  56. PM Patrol allows you to monitor and track several different resources of your 
  57. OS/2 system. These resources are presented to you in a very unintrusive and 
  58. meaningful display providing you insight into current system activities. The 
  59. appearance of PM Patrol has maintained the attitude that this tool should be 
  60. visible, yet not use valuable desktop space. 
  61.  
  62. PM Patrol has a broad appeal. The information PM Patrol provides is valuable to 
  63. a number of audiences including novices, heavy users, and software engineers 
  64. and developers. Some PM Patrol monitors and utility items are geared more 
  65. toward software developers, but the majority of PM Patrol is valuable to 
  66. anyone. 
  67.  
  68. To help you get going with PM Patrol right now, the following itemizes 
  69. quick-hit topics: 
  70.  
  71.    1. PM Patrol provides 2 quick ways of getting around. Place the mouse 
  72.       pointer on the PM Patrol Status Line. If the Status Line is located at 
  73.       the bottom of the desktop screen, the mouse pointer changes to let you 
  74.       know your're "talking" to PM Patrol. Otherwise, the mouse pointer remains 
  75.       the same. The left mouse button acts different than the right. 
  76.  
  77.    2. From the PM Patrol Status Line, double clicking the left mouse button 
  78.       invokes the PM Patrol "Options" dialog. This dialog allows you to select 
  79.       and/or change PM Patrol Status Line monitors, configuration settings, 
  80.       color and font settings, various OS/2 system settings, and provides an 
  81.       alternative method for accessing PM Patrol "Utility" items. 
  82.  
  83.    3. From the PM Patrol Status Line, single clicking the right mouse button 
  84.       invokes the PM Patrol "Utility" popup menu. After you configure PM Patrol 
  85.       to your personal preferences, this "Utility" popup menu will typically 
  86.       become the primary access method to PM Patrol features. 
  87.  
  88.    4. The PM Patrol icon in the "Utility" popup menu invokes the Table of 
  89.       Contents for PM Patrol help. 
  90.  
  91.    5. When invoked, the "Utility" popup menu is intelligent based on the 
  92.       location of the mouse pointer within the PM Patrol Status Line: 
  93.  
  94.         a. If the mouse pointer is within 1 inch of the LEFT side of the Status 
  95.            Line (leftmost 1 inch on VGA), the Utility popup menu will 
  96.            automatically display the PM Patrol Program List for quick access to 
  97.            your favorite programs. 
  98.  
  99.         b. Similarly, if the mouse pointer is within 1 inch of the RIGHT side 
  100.            of the Status Line, the Utility popup menu will automatically 
  101.            display the PM Patrol Desktop List for quick access to commonly used 
  102.            OS/2 WorkPlace Shell folders. 
  103.  
  104.         c. Otherwise, the Utility popup menu is displayed with the default menu 
  105.            item being PM Patrol Process Monitor option. 
  106.  
  107.  PM Patrol is feature rich. For a complete description of PM Patrol features 
  108.  and details, refer to Features and Product Information sections of this 
  109.  on-line help. To see how PM Patrol compares to other OS/2 resource monitor 
  110.  software, refer to the online help section "Comparative Matrix" also under 
  111.  Product Information. 
  112.  
  113.  Packaged with PM Patrol are several OS/2 32-bit Command Line utilities. These 
  114.  utilities complement the PM Patrol personality and are described in detail in 
  115.  the "Command Line Utilities" section of this on-line help. 
  116.  
  117.  The on-line help describes all facets of PM Patrol. Whenever you are in the PM 
  118.  Patrol on-line help, you can always view the Table of Contents by selecting 
  119.  "Contents" under the "Options" menu item. 
  120.  
  121.  The on-line help contains a section called "Trouble Shooting". If you ever 
  122.  experience difficulties or potential problems with PM Patrol, refer to this 
  123.  section of on-line help. It discusses topics of potential difficulty, 
  124.  compatibility, and idiosyncrasies of PM Patrol features. Everyone should read 
  125.  this section. 
  126.  
  127.  
  128. ΓòÉΓòÉΓòÉ 3. Hardware/Software Requirements ΓòÉΓòÉΓòÉ
  129.  
  130. PM Patrol carries the following requirements, some of which are options to PM 
  131. Patrol: 
  132.  
  133.    1. PM Patrol requires IBM OS/2 version 2.1 or higher. 
  134.  
  135.    2. Multmedia features requires IBM MMPM/2 for OS/2 be installed. 
  136.  
  137.    3. Network monitoring features requires IBM LAN Requester be installed on 
  138.       the local workstation. NetWare for OS/2 is not currently supported. 
  139.  
  140.    4. Internet Connect-Time feature requires modem connection using the 
  141.       "Point-to-Point Protocol" (PPP) or "Serial Line IP" (SLIP) of IBM's 
  142.       Internet Access Kit. 
  143.  
  144.    5. PM Patrol's Free Memory algorithm requires a 32-bit disk controller for 
  145.       memory configurations with more than 16 MB. Strict ISA bus architectures 
  146.       found on most 386 class computers are most likely equipped with 16-bit 
  147.       disk controllers. 
  148.  
  149.  
  150. ΓòÉΓòÉΓòÉ 4. Installation ΓòÉΓòÉΓòÉ
  151.  
  152. To install PM Patrol, run the INSTALL.EXE program from the distribution 
  153. diskette. 
  154.  
  155. The PM Patrol installation prompts you for a number of items and will install 
  156. all necessary files into a subdirectory of your choice for the PM Patrol 
  157. program files. 
  158.  
  159. The installation program also asks you if you want to create the OS/2 Desktop 
  160. objects and "shadow" copy  of PM Patrol in your OS/2 "Startup Folder". Refer to 
  161. the OS/2 WorkPlace Shell user guide for any additional help regarding the 
  162. Startup Folder. 
  163.  
  164. If you are using the real-time Data Collection Facility APIs, append the 
  165. installation path used for PM Patrol to the following statements in your 
  166. CONFIG.SYS file: 
  167.  
  168.    1. "LIBPATH" statement for the API DLL (PMPAPI.DLL). 
  169.  
  170.    2. "LIB" statement for the API import library (PMPAPI.LIB). 
  171.  
  172.    3. "INCLUDE" statement for the API C/C++ header (PMPAPI.H). 
  173.  
  174.  If you are using the real-time Debug Facility, append the installation path 
  175.  used for PM Patrol to the following statements in your CONFIG.SYS file: 
  176.  
  177.    1. "LIBPATH" statement for the API DLL (DBUGAPI.DLL). 
  178.  
  179.    2. "LIB" statement for the API import library (DBUGAPI.LIB). 
  180.  
  181.    3. "INCLUDE" statement for the API C/C++ header (DBUG.H). 
  182.  
  183.  After PM Patrol is installed and the first time you run it, the "Product 
  184.  Information" dialog appears along with the "Product Activation" dialog. This 
  185.  is your opportunity to enter your Name and the Serial number for your copy of 
  186.  PM Patrol. 
  187.  
  188.  It is VERY important that you enter the Serial number correctly. If you make a 
  189.  mistake, select "Register" from the "Product Information" dialog and try 
  190.  again. Once entered, this information is saved. 
  191.  
  192.  Note:  If you want to move PM Patrol to another machine, repeat the 
  193.  installation process along with entering your Name and Serial number again. 
  194.  
  195.  PM Patrol contains a few STARTUP command line options: 
  196.  
  197.    1. "-Q" is used to omit the PM Patrol logo window at startup. When 
  198.       specified, the little PM Patrol logo window at startup will NOT be 
  199.       displayed. 
  200.  
  201.    2. "-H" is used to start PM Patrol in a HIDDEN state. This is advantageous 
  202.       for some users - particularly when the user is only interested in the DCF 
  203.       component. Use the OS/2 Window List to "unhide" the window. This also 
  204.       lends itself to workstations which are used exclusively for real-time 
  205.       operations and/or data acquisition and wish to use the Logger component 
  206.       of PM Patrol. When enabled, any selected Auto-Start monitor windows in PM 
  207.       Patrol (ie. Memory, Process, Network, etc.) will not be started - with 
  208.       the exception of auto-starting the Debug or Logging facilities. These two 
  209.       items, if selected to auto-start, will be started as usual. 
  210.  
  211.    3. "-S" is used to start PM Patrol in SECURED state. When enabled, PM Patrol 
  212.       does not appear in the OS/2 Window List and is not able to be "killed". 
  213.       The user MUST close PM Patrol via the normal PM Patrol mechanism. 
  214.       "Secured" mode is provided primarily to complement the PM Patrol password 
  215.       security offered. 
  216.  
  217.    4. "-W" is used to keep PM Patrol windows from appearing in the OS/2 Window 
  218.       List. This is an alternative option to "-S" but acts only on Window List 
  219.       access. 
  220.  
  221.    5. "-C" can be used to put PM Patrol in a "time critical" priority class for 
  222.       a high level of responsiveness. By default, the main PM Patrol thread 
  223.       operates in a "foreground" priority class and is adequate for most 
  224.       systems. Where PM Patrol and it's DCF readings require absolute timing, 
  225.       this option can be used. Typically, this option lends itself to 
  226.       workstations used for real-time purposes or benchmarking applications 
  227.       which are CPU intensive. Using this startup option may be too aggressive 
  228.       for low-end systems (i386 or most SX CPUs). Furthermore, where seamless 
  229.       DOS+Windows programs are used often, this startup option should be 
  230.       avoided due to the nature of performance issues associated with VDMs 
  231.       (Virtual DOS Machines) under OS/2. 
  232.  
  233.    6. "-P" is used when you wish to disable the PM Patrol Port Monitoring 
  234.       facility. By default, this option is enabled. When disabled, absolutely 
  235.       no port monitoring is performed and this features within PM Patrol is 
  236.       made inaccessible. 
  237.  
  238.  When both HIDDEN and SECURED are enabled, these two parameters cause PM Patrol 
  239.  to operate in complete detached mode and 100% secured from user interaction 
  240.  and intervention. This mode of operation lends itself to LAN administrators 
  241.  and real-time operations who wish to monitor workstations using the DCF and 
  242.  Network components of PM Patrol without involving the workstation user. 
  243.  
  244.  
  245. ΓòÉΓòÉΓòÉ 4.1. Uninstall ΓòÉΓòÉΓòÉ
  246.  
  247. To Uninstall PM Patrol from your system: 
  248.  
  249.    1. Exit PM Patrol if currently active. 
  250.  
  251.    2. Delete the PM Patrol folder from the OS/2 Desktop. 
  252.  
  253.    3. If you selected PM Patrol to startup automatically via the OS/2 desktop 
  254.       "Startup" folder, then delete the program object from this folder as 
  255.       well. 
  256.  
  257.    4. Delete the PM Patrol directory (i.e. C:\PMP) and all the files within the 
  258.       directory. 
  259.  
  260.  Note:  PM Patrol does not modify your CONFIG.SYS file. Unless you make changes 
  261.  to your CONFIG.SYS to use PM Patrol's programming APIs, there are no 
  262.  modifications necessary to CONFIG.SYS for removing PM Patrol. 
  263.  
  264.  
  265. ΓòÉΓòÉΓòÉ 5. Order and Pricing ΓòÉΓòÉΓòÉ
  266.  
  267. Thank you for trying PM Patrol.  If PM Patrol proves useful and you wish to 
  268. continue using PM Patrol, you may register by credit card, check, and SWREG via 
  269. Compuserve.  These registration methods are described below. 
  270.  
  271. ===============================================================
  272. Ordering PM Patrol via Check
  273. ===============================================================
  274. Complete the following registration form below and send it
  275. along with your payment to:
  276.  
  277.      Dave Wallenberg
  278.      Attn: WallyWare
  279.      2210 Kingston Drive
  280.      Wheaton, IL  60187  USA
  281.  
  282. Product:  PM Patrol for OS/2 (version 4.x family)
  283. Quantity: _____ Single  $25         _____ 5  Pack $100
  284.      _____ Upgrade $15         _____ 25 Pack $350
  285.  
  286. Name:   ____________________________________________________
  287. Address:  ____________________________________________________
  288.      ____________________________________________________
  289. City:   ____________________________________________________
  290. State:   _____  Zip: _________  Country:  __________________
  291.  
  292. Internet Id:    ____________________________________________
  293. CompuServe Id:   ____________________________________________
  294.  
  295. Comments? ____________________________________________________
  296.      ____________________________________________________
  297.  
  298. Where you obtained PM Patrol?  _______________________________
  299.  
  300.  
  301. ===============================================================
  302. Ordering PM Patrol via Compuserve SWREG
  303. ===============================================================
  304. Compuserve members may register PM Patrol via GO SWREG:
  305.  
  306.  PM Patrol (4.x Single Copy)      Registration Id: 8991
  307.  
  308.  PM Patrol (4.x Upgrade Only)      Registration Id: 9016
  309.  Previous registration will be verified by WallyWare.
  310.  
  311.  
  312. ===============================================================
  313. Ordering PM Patrol via Credit Card
  314. ===============================================================
  315. MasterCard, Visa, American Express, and Discover orders for
  316. PM Patrol must be placed through PsL, a credit card order taking
  317. service.  You can reach PsL 24 hours a day, 7 days a week by:
  318.  
  319.  Fax:     1-713-524-6398
  320.  CompuServe: 71355,470
  321.  Internet:  71355.470@compuserve.com
  322.  
  323.  Voice:    1-800-242-4775 or 1-713-524-6394
  324.        7am -  6pm CST Monday-Thursday
  325.        7am - 12pm CST on Fridays, except holidays.
  326.  
  327.  Mail:    Credit card orders can also be mailed to PsL at:
  328.        P.O. Box 35705, Houston, TX 77235  USA.
  329.  
  330. The following is needed by PsL for credit card order processing.
  331. Be sure to specify your email account if you have one.  PsL
  332. notifies WallyWare within 24 hours after receiving your order so
  333. a PM Patrol product serial number can be generated and sent to
  334. you promptly.
  335.  
  336.  Product Id:     14363 (PM Patrol)
  337.  Quantity:      ____ Single  $25     ____  5-Pack $100
  338.            ____ Upgrade $15     ____ 25-Pack $350
  339.  
  340.  Credit Card:     [_] MC  [_] VISA  [_] AMEX  [_] Discover
  341.  Credit Card Number: __________________________________________
  342.  Expiration Date:   __________________________________________
  343.  Name On Card:    __________________________________________
  344.  Billing Address:   __________________________________________
  345.            __________________________________________
  346.            __________________________________________
  347.  
  348.  Internet Id:     __________________________________________
  349.  Compuserve Id:    __________________________________________
  350.  
  351.  
  352. Please note:
  353.  WallyWare CAN NOT be reached at the numbers above.  These
  354.  numbers are for PsL - CREDIT CARD ORDERS ONLY.
  355.  
  356.  Any questions about the status of the shipment of an order,
  357.  refunds, registration options, product details, technical
  358.  support, volume discounts, dealer pricing, site licenses,
  359.  etc., must be directed to WallyWare.
  360.  
  361.  
  362. ===============================================================
  363. Receiving your PM Patrol Product Serial Number:
  364. ===============================================================
  365. You're Product Serial number is assigned by WallyWare after
  366. purchasing PM Patrol.  After you receive this code, enter it,
  367. (along with your name) in PM Patrol's Product Registration window.
  368.  
  369.  E-Mail shipment:
  370.    For E-Mail users on Internet or Compuserve, your PM Patrol
  371.    product serial number will be sent via email usually within
  372.    24 hours after receipt of your PM Patrol purchase.
  373.  
  374.  Air-Mail shipment:
  375.    For users without email access, WallyWare will send via
  376.    First Class Air mail a 3 1/2 diskette containing the latest
  377.    version of PM Patrol and an invoice with your product serial
  378.    number.  Please allow 5-10 days for shipping.
  379.  
  380.  
  381. PM Patrol is posted on several popular sites.  The following sites
  382. receive uploads of PM Patrol directly from WallyWare.  If you have
  383. a more convenient ftp or download site, let us know.
  384.  
  385. Files will typically carry the format PMPxy.ZIP where X identifies
  386. the major release.  Y represents the minor release.  The current
  387. version of PM Patrol is 4.0c, PMP40c.ZIP.
  388.  Compuserve               (OS2BVEN Shareware)
  389.  FTP: hobbes.nmsu.edu          (/os2/wpsutil)
  390.  FTP: ftp-os2.cdrom.com         (/pub/os2/sysutil)
  391.  BBS: Chicago online OS/2        (1-708-895-4042  8N1)
  392.  BBS: Peter Norloff's OS/2 Shareware   (1-703-385-4325  8N1)
  393.  WEB: www.wilmington.net/bmtmicro
  394.  WEB: www.os2.hammer.org/OS2
  395.  WEB: www.leo.org/archive/os2
  396.  
  397.  
  398. Thank you for choosing PM Patrol.  And, enjoy...
  399. Dave Wallenberg, WallyWare
  400.  
  401. Internet:  wally@interaccess.com
  402. Compuserve: 72702,2320
  403. Phone:    1-708-510-7412 (1-630-510-7412 after 7/96)
  404.  
  405.  
  406. ΓòÉΓòÉΓòÉ 6. Support ΓòÉΓòÉΓòÉ
  407.  
  408. Sales and Technical Support for PM Patrol and other WallyWare products are 
  409. available through phone, CompuServe (OS2SHARE), and Internet. 
  410.  
  411. In most cases, phone support will require you to leave a message for WallyWare. 
  412. We will return domestic US calls as soon as possible usually within 48 hours. 
  413. Email support can usually count on response within 48 hours. 
  414.  
  415. PM Patrol is posted to and can be downloaded from the following electronic 
  416. repositories. The file name is typically PMPxy.ZIP where "xy" represents the 
  417. major/minor version number. 
  418.  
  419.  Compuserve               (OS2BVEN Shareware)
  420.  FTP: hobbes.nmsu.edu          (/os2/wpsutil)
  421.  FTP: ftp-os2.cdrom.com         (/pub/os2/sysutil)
  422.  BBS: Chicago online OS/2        (1-708-895-4042  8N1)
  423.  BBS: Peter Norloff's OS/2 Shareware   (1-703-385-4325  8N1)
  424.  WEB: www.wilmington.net/bmtmicro
  425.  WEB: www.os2.hammer.org/OS2
  426.  WEB: www.leo.org/archive/os2
  427.  
  428.  
  429. WallyWare
  430. 2210 Kingston Drive
  431. Wheaton, Illinois  60187  USA
  432.  
  433. Phone:    1-708-510-7412 (1-630-510-7412 after 7/96)
  434. Internet:  wally@interaccess.com
  435. CompuServe: 72702,2320
  436.  
  437.  
  438. ΓòÉΓòÉΓòÉ 7. Product Information ΓòÉΓòÉΓòÉ
  439.  
  440. This section describes what PM Patrol is and what it offers 
  441.  
  442.  
  443. ΓòÉΓòÉΓòÉ 7.1. What is It? ΓòÉΓòÉΓòÉ
  444.  
  445. PM Patrol is robust yet easy to use resource monitoring and management 
  446. software, for OS/2 versions 2.1 and higher. The monitors, frequency of resource 
  447. samples, preferences, size and placement of windows are user selectable 
  448. allowing complete customization. 
  449.  
  450. Always accessible, PM Patrol extends the OS/2 desktop by providing insight into 
  451. current system activities and resource utilization. 
  452.  
  453. The quick-access utility items include a program launcher, program scheduler, 
  454. print/spooler functions, Fast Find, and much more. 
  455.  
  456. The numerous resource monitors that PM Patrol provides can be logged for later 
  457. review or accessed dynamically with the Data Collection Facility APIs. Recorded 
  458. as text, the logged data can be manipulated using tools such as Rexx, AWK, 
  459. GREP, and custom C/C++ programs. 
  460.  
  461. The appearance of PM Patrol has maintained the attitude that the tool should be 
  462. visible, yet not use valuable desktop space. As a result, the main Status Line 
  463. is displayed at the bottom of the display (as default). 
  464.  
  465.  
  466. ΓòÉΓòÉΓòÉ 7.2. Why do I need it? ΓòÉΓòÉΓòÉ
  467.  
  468. PM Patrol offers numerous and intuitive selections for monitoring OS/2 status 
  469. and activities: 
  470.  
  471.    1. Display current Date/Time with optional synchronization to network 
  472.       server. 
  473.  
  474.    2. System up-time for workstation 
  475.  
  476.    3. Internet Connect-Time for workstation (requires IBM's Internet Access 
  477.       Kit). 
  478.  
  479.    4. Network user ID, Domain, server, and network I/O traffic for the 
  480.       workstation 
  481.  
  482.    5. Processes, threads, DLLs, drivers, and shared memory activity 
  483.  
  484.    6. Event monitoring and notification of critical OS/2 resources and 
  485.       thresholds. 
  486.  
  487.    7. CPU activity per Process and Thread in graphical view 
  488.  
  489.    8. Complete drive summary and detail information with graphical utilization 
  490.  
  491.    9. Local or remote print spooler jobs on a per queue basis 
  492.  
  493.   10. Disk Drives on-line (including network drives) 
  494.  
  495.   11. Free space for selected drives (up to 6 drives including network drives) 
  496.  
  497.   12. OS/2 swap activity 
  498.  
  499.   13. Identify system levels for OS/2 component installed 
  500.  
  501.   14. OS/2 free real and virtual memory activity 
  502.  
  503.   15. Active number of OS/2 processes and threads 
  504.  
  505.   16. CPU utilization (current vs. rolling average over last 1 minute) 
  506.  
  507.   17. Battery status for mobile computers 
  508.  
  509.   18. Graphical views of memory, CPU usage, and swapping 
  510.  
  511.  PM Patrol contains a suite of robust utility and OS/2 desktop functions: 
  512.  
  513.    1. Robust monitoring of OS/2 processes and threads (Process Monitor window) 
  514.       with ability to monitor CPU utilization per process, memory used per 
  515.       process, process priorities, and "kill" ill-behaved programs. 
  516.  
  517.    2. Process Meter features provides unattended operation and automatic 
  518.       collection of process statistics for identifying duration, CPU 
  519.       consumption, and instances over a range of time. 
  520.  
  521.    3. Quick-access program launcher with priority control 
  522.  
  523.    4. Quick-access program scheduler with priority control for timed events 
  524.  
  525.    5. Network Monitor and I/O statistics for workstation 
  526.  
  527.    6. Summary and detailed information of drives 
  528.  
  529.    7. Summary and detailed information of OS/2 configuration and environment 
  530.  
  531.    8. Changing the mouse and wait pointers in OS/2 
  532.  
  533.    9. Fast Find files (pattern, size, last access, attributes, network drives) 
  534.  
  535.   10. Fast Help for all OS/2 and Windows help information files on-line 
  536.  
  537.   11. Fast access to WorkPlace Shell object classes 
  538.  
  539.   12. Find duplicate files 
  540.  
  541.   13. Drive utilization and analysis with graphical distribution 
  542.  
  543.   14. Fast Format diskettes 
  544.  
  545.   15. Print queue management 
  546.  
  547.   16. Identify system levels for OS/2 component installed 
  548.  
  549.   17. Minimize all visible windows (and restore all minimized windows) 
  550.  
  551.   18. Security to protect PM Patrol settings and configuration for stand-alone 
  552.       and network use 
  553.  
  554.   19. Suspending power for mobile computers (sleep mode) 
  555.  
  556.   20. Suspending PM Patrol monitors 
  557.  
  558.   21. Forced OS/2 shutdown 
  559.  
  560.   22. Changing mouse and wait pointers for all display types 
  561.  
  562.   23. Set system date and time 
  563.  
  564.   24. Several command-line utilities such as Fast Find and Find Duplicate 
  565.       files, Print Spooler Management, and more 
  566.  
  567.   25. API interfaces to retrieve real-time statistics from PM Patrol 
  568.  
  569.  
  570. ΓòÉΓòÉΓòÉ 7.3. Comparative Matrix ΓòÉΓòÉΓòÉ
  571.  
  572. =====================================================================
  573.       Item          PM Patrol  SPM/2  CpuMon  Pegasus
  574. =====================================================================
  575. Low memory requirements        x             x
  576. Low CPU requirements          x     x        x
  577. Network monitoring (1)         x
  578. CPU monitoring             x     x    x     x
  579. Magnified CPU monitoring        x
  580. LPT Port monitoring          x         x     x
  581. COM Port monitoring                   x     x
  582. Process monitors            x         x     x
  583. Free Memory monitor          x     x    x     x
  584. Virtual Memory monitor         x     x
  585. Resident Memory monitor        x     x
  586. Memory Per Process monitor            x    x
  587. Swap free and size monitor       x     x    x     x
  588. Drive monitoring            x     x    x     x
  589. Drive Cache monitors (2)        x             x
  590. Drive utilization mapping       x
  591. Power Mgmt Monitoring and Control   x
  592. Inconspicuous monitor display     x
  593. Real-time Data Collection Facility   x     x        x
  594. C/C++ API interfaces          x     x        x
  595. Quick access program Launcher     x
  596. Build-in program Scheduler       x
  597. Line graph displays          x     x        x
  598. Selective logging           x         x     x
  599. Print spooler mgmt and control     x
  600. System and Configuration Info.     x
  601. Performance tuning guide        x
  602. Desktop/WorkPlace Shell utilities   x
  603. Software testing tools         x
  604. Event Monitoring w/Alarms       x
  605. Multimedia Enabled           x
  606. Internet Access Monitoring       x
  607. Fast access to system help files    x
  608. Robust Process Metering        x
  609. Low cost                x
  610.  
  611. (1) LAN Server support only
  612. (2) HPFS-386 only
  613.  
  614.  
  615. ΓòÉΓòÉΓòÉ 8. How do I ? ΓòÉΓòÉΓòÉ
  616.  
  617. This section describes how to do things in PM Patrol that may not be obvious. 
  618.  
  619.  
  620. ΓòÉΓòÉΓòÉ 8.1. Set fonts ΓòÉΓòÉΓòÉ
  621.  
  622. You can select "Font" from the PM Patrol "Options" dialog and select a font for 
  623. the PM Patrol main Status Line. 
  624.  
  625. The font of choice for the PM Patrol Status Line is the "System VIO" family. 
  626.  
  627. Or, use the Font Palette in the OS/2 "Setup" folder by dropping a font on the 
  628. PM Patrol Status Line. 
  629.  
  630. All PM Patrol settings are automatically saved when you exit PM Patrol. 
  631.  
  632. Note:  PM Patrol supports the ability to have a different font and color scheme 
  633. for each window - including the main Status Line. 
  634.  
  635.  
  636. ΓòÉΓòÉΓòÉ 8.2. Display Different Drives ΓòÉΓòÉΓòÉ
  637.  
  638. By default, PM Patrol maps drives 1 through 6 on the Status Line to drives C 
  639. through H. This drive mapping can be changed to any desired combination. 
  640.  
  641.    1. From the PM Patrol Status Line, right-click the Status Line. 
  642.  
  643.    2. Select the "Drives" menu option 
  644.  
  645.    3. Then select the "Status Line" option. 
  646.  
  647.    4. This will display a menu identifying the current drive mappings assigned. 
  648.       Select the PM Patrol drive number you wish to change. 
  649.  
  650.    5. A mini dialog will popup displaying current drives on-line and 
  651.       accessible. Choose which drive to map. 
  652.  
  653.    6. To tell PM Patrol to show the drive on the Status Line select the drive 
  654.       number in PM Patrol's "Status Line Monitors" in the "Options" dialog. 
  655.  
  656.    7. This information is saved and remembered by PM Patrol. 
  657.  
  658.  When a drive being monitored goes off-line, PM Patrol displays a "?" in place 
  659.  of the free space for the drive to inform you the drive is off-line. This is 
  660.  more common when monitoring remote drives on a network. 
  661.  
  662.  
  663. ΓòÉΓòÉΓòÉ 8.3. Set Colors ΓòÉΓòÉΓòÉ
  664.  
  665. Use the "Colors" dialog. This can be accessed via the PM Patrol Setting option 
  666. on the "Options" dialog. You can control both foreground and background RGB 
  667. colors with this mechanism. 
  668.  
  669. Or, use the Color Palette in the OS/2 "Setup" folder by dropping a color 
  670. selection on the PM Patrol Status Line. 
  671.  
  672. All PM Patrol settings are automatically saved when you exit PM Patrol. 
  673.  
  674.  
  675. ΓòÉΓòÉΓòÉ 8.4. Move the Status Line ΓòÉΓòÉΓòÉ
  676.  
  677. There are two methods for moving the main Status Line. All PM Patrol settings 
  678. and window positions are automatically saved when you exit PM Patrol. 
  679.  
  680.         a. Holding the right mouse button down, drag the Status Line up or 
  681.            down, it will automatically keep the width of the Status Line within 
  682.            the boundaries of your desktop screen width. 
  683.  
  684.         a. Single click with both mouse buttons (Chord click) on the PM Patrol 
  685.            Status Line.  This will enable the title bar to the Status Line. 
  686.  
  687.         b. Select the title bar and hold the mouse button while dragging the 
  688.            Status Line to the desired position. 
  689.  
  690.         c. Chord click the Status Line again (or select "Hide Controls" from 
  691.            the System Menu box) to hide the title bar. 
  692.  
  693.         d. This will allow you to move the Status Line off the desktop 
  694.            boundaries for those of you who wish to truncate the left of right 
  695.            side of the Status Line. 
  696.  
  697.  
  698. ΓòÉΓòÉΓòÉ 8.5. Mouse Control with PM Patrol ΓòÉΓòÉΓòÉ
  699.  
  700. Double click the left mouse button on the PM Patrol Status Line to get to PM 
  701. Patrol Options. 
  702.  
  703. Single click the right mouse button on the PM Patrol Status Line for quick 
  704. access the PM Patrol utilities menu. 
  705.  
  706. Single click the left and right mouse buttons (Chord click) on the PM Patrol 
  707. Status Line to display the PM Patrol title bar and system menu. This allows you 
  708. to move the PM Patrol Status Line to a desired position. Chord click again to 
  709. hide the title bar, or select the "System Menu" box on the title bar and then 
  710. select "Hide Controls". 
  711.  
  712.  
  713. ΓòÉΓòÉΓòÉ 8.6. Start PM Patrol Minimized/Hidden ΓòÉΓòÉΓòÉ
  714.  
  715. PM Patrol can be started with a command line option ("-H") to start it in a 
  716. HIDDEN state. This is advantageous for some users - particularly when the user 
  717. is only interested in the DCF component. Use the OS/2 Window List to "unhide" 
  718. the window. This also lends itself to workstations which are used exclusively 
  719. for real-time operations and/or data acquisition and wish to use the Logger 
  720. component of PM Patrol. 
  721.  
  722. Combined with the "Start Secured" option, PM Patrol to operates in complete 
  723. detached mode and 100% secured from user interaction and intervention. The only 
  724. way to terminate PM Patrol is an OS/2 Shutdown. This mode of operation lends 
  725. itself to LAN administrators who wish to monitor workstations using the DCF and 
  726. Network components of PM Patrol without involving the workstation user. 
  727.  
  728.  
  729. ΓòÉΓòÉΓòÉ 8.7. Start PM Patrol Secured ΓòÉΓòÉΓòÉ
  730.  
  731. PM Patrol can be started with a command line option "-S" to start PM Patrol in 
  732. SECURED state. When enabled, PM Patrol does not appear in the OS/2 Window List 
  733. and can not therefore be terminated by the user. The user MUST close PM Patrol 
  734. via the normal PM Patrol mechanism. 
  735.  
  736. Combined with the "Start Hidden" option, PM Patrol to operates in complete 
  737. detached mode and 100% secured from user interaction and intervention. The only 
  738. way to terminate PM Patrol is an OS/2 Shutdown. This mode of operation lends 
  739. itself to LAN administrators who wish to monitor workstations using the DCF and 
  740. Network components of PM Patrol without involving the workstation user. 
  741.  
  742.  
  743. ΓòÉΓòÉΓòÉ 8.8. Uninstall PM Patrol ΓòÉΓòÉΓòÉ
  744.  
  745. To Uninstall PM Patrol from your system: 
  746.  
  747.    1. Exit PM Patrol if currently active. 
  748.  
  749.    2. Delete the PM Patrol folder from the OS/2 Desktop. 
  750.  
  751.    3. If you selected PM Patrol to startup automatically via the OS/2 desktop 
  752.       "Startup" folder, then delete the program object from this folder as 
  753.       well. 
  754.  
  755.    4. Delete the PM Patrol directory (i.e. C:\PMP) and all the files within the 
  756.       directory. 
  757.  
  758.  Note:  PM Patrol does not modify your CONFIG.SYS file and does not therefore 
  759.  require any changes to this file for uninstall. 
  760.  
  761.  
  762. ΓòÉΓòÉΓòÉ 9. Options ΓòÉΓòÉΓòÉ
  763.  
  764. This section describes various options and configuration settings that may be 
  765. selected for PM Patrol. 
  766.  
  767.  
  768. ΓòÉΓòÉΓòÉ 9.1. System ΓòÉΓòÉΓòÉ
  769.  
  770. The System section provides the ability to view and change several OS/2 
  771. environmental facets. 
  772.  
  773. This can be accessed from the PM Patrol "Options" dialog. 
  774.  
  775.  
  776. ΓòÉΓòÉΓòÉ 9.1.1. System Level ΓòÉΓòÉΓòÉ
  777.  
  778. The System Level option launches the OS/2 SYSLEVEL.EXE utility and displays the 
  779. current release and CSD level for the OS/2 components installed on your system. 
  780.  
  781.  
  782. ΓòÉΓòÉΓòÉ 9.1.2. Set Date/Time ΓòÉΓòÉΓòÉ
  783.  
  784. The Set Date/Time option provides a small dialog for changing the OS/2 system 
  785. date and/or time. Input is fully edited for valid dates including leap-year and 
  786. you are notified of errors. 
  787.  
  788. The Status Line Date/Time is updated to reflect the new date/time. 
  789.  
  790.  
  791. ΓòÉΓòÉΓòÉ 9.1.3. Mouse Pointer ΓòÉΓòÉΓòÉ
  792.  
  793. The Mouse Pointer option allows you to change the current mouse pointer type. 
  794. Using the OS/2 Icon Editor, you can create your own POINTER files. 
  795.  
  796. This option provides a bigger pointer for SVGA and XGA systems.  On XGA 
  797. systems, if you change the default pointer, the pointer may occasionally 
  798. disappear. This is most likely caused by the IBM OS/2 XGA drivers and is 
  799. repaired in OS/2 2.1 with the 2.11 CSD. 
  800.  
  801. Note:  After selecting a new pointer, DO NOT delete, move, or rename the 
  802. pointer file without changing the Mouse Pointer via PM Patrol FIRST. OS/2 looks 
  803. for this at IPL. If it is not found at OS/2 bootup, OS/2 will hang. So put the 
  804. pointer file in a safe place on a not removable media type and backup INI 
  805. files. 
  806.  
  807. Select "Reset" to reset back to the original pointer. 
  808.  
  809.  
  810. ΓòÉΓòÉΓòÉ 9.1.4. Wait Pointer ΓòÉΓòÉΓòÉ
  811.  
  812. The Wait Pointer option allows you to change the current wait pointer type. 
  813. Typically, this is the OS/2 time clock when the system is busy. Using the OS/2 
  814. Icon Editor, you can create your own POINTER files. 
  815.  
  816. This option was added to provide a bigger pointer for SVGA and XGA systems.  On 
  817. XGA systems, if you change the default pointer, the pointer may occasionally 
  818. disappear.  This is most likely caused by the XGA drivers. 
  819.  
  820. After selecting a new pointer, DO NOT delete, move, or rename this file without 
  821. performing this process as well. OS/2 looks for this at IPL. So put the pointer 
  822. file in a safe place on a not removable media type and backup INI files. 
  823.  
  824. Select "Reset" to reset back to the original pointer. 
  825.  
  826.  
  827. ΓòÉΓòÉΓòÉ 9.2. Settings ΓòÉΓòÉΓòÉ
  828.  
  829. The Settings section provides the ability to view, change, and permanently 
  830. change PM Patrol configuration items. 
  831.  
  832. This can be accessed from the PM Patrol "Options" dialog. 
  833.  
  834.  
  835. ΓòÉΓòÉΓòÉ 9.2.1. Reset All Settings ΓòÉΓòÉΓòÉ
  836.  
  837. The Reset All Settings option resets all PM Patrol to options to their original 
  838. defaults. This includes colors, window positions, fonts, monitor items on the 
  839. Status Line and PM Patrol Logger, and Process Meter data. 
  840.  
  841.  
  842. ΓòÉΓòÉΓòÉ 9.2.2. General Settings ΓòÉΓòÉΓòÉ
  843.  
  844. General Settings is broken-out into the following groups: 
  845.  
  846.    1. "Startup" options and windows that get started when PM Patrol is started 
  847.  
  848.    2. "Miscellaneous" options 
  849.  
  850.    3. "Spooler" options for local or remote print spool monitoring 
  851.  
  852.    4. "Editor" and "Viewer" programs used by PM Patrol 
  853.  
  854.  The following items discuss Startup function: 
  855.  
  856.    1. Enable Process Monitor Window to have this facility launched when PM 
  857.       Patrol starts. 
  858.  
  859.    2. Enable Memory Monitor Window to have this facility launched when PM 
  860.       Patrol starts. 
  861.  
  862.    3. Enable Network Monitor Window to have this facility launched when PM 
  863.       Patrol starts. 
  864.  
  865.    4. Enable Port Monitor Window to have this facility launched when PM Patrol 
  866.       starts. 
  867.  
  868.    5. Enable Drives Monitor Window to have this facility launched when PM 
  869.       Patrol starts. 
  870.  
  871.    6. Enable Event Monitor Window to have this facility launched when PM Patrol 
  872.       starts. 
  873.  
  874.    7. Enable Activity Monitor Window to have this facility launched when PM 
  875.       Patrol starts. 
  876.  
  877.    8. Enable Debug Facility to have this facility start when PM Patrol starts. 
  878.  
  879.    9. Enable Logging Facility to have this facility start when PM Patrol 
  880.       starts. 
  881.  
  882.   10. Enable Reset Process Meter to have the Process Meter data base 
  883.       initialized when PM Patrol starts (typically each time you reboot your 
  884.       system). When this settings is not enabled, PM Patrol keeps track of 
  885.       Process Meter statistics across each invocation of PM Patrol, thus 
  886.       providing accumulative statistics for you until you manually reset the 
  887.       Process Meter data base. This option is enabled by default. Therefore, 
  888.       the meter will be initialized each time you start PM Patrol. 
  889.  
  890.  The following items discuss Miscellaneous items: 
  891.  
  892.    1. Sound Bites and Volume option enables or disables the playing of 
  893.       multimedia WAV files upon various PM Patrol events. This option is only 
  894.       applicable to systems that are Multimedia enabled with MMPM/2 for OS/2. 
  895.       The Volume control allows you to adjust the volume for PM Patrol's WAV 
  896.       sound bites independantly from the OS/2 "System Sounds" volume control. 
  897.       The default is 50% and may require adjustment for your system. PM Patrol 
  898.       stores it's WAV files in a subdirectory called "WAV" and is located under 
  899.       the PM Patrol installation directory. Some events include: 
  900.  
  901.         a. When an error occurs (pmperr.wav). 
  902.  
  903.         b. When free disk space is low (pmpfdisk.wav). 
  904.  
  905.         c. Each time you connect (pmpin.wav) or disconnect from (pmpout.wav) 
  906.            the Internet when using IBM's Internet Access Kit. 
  907.  
  908.         d. Each time you Logon (pmpin.wav) or Logoff (pmpout.wav) when using 
  909.            IBM's LAN Server. 
  910.  
  911.         e. When you kill a program from the Process Monitor window or Fast 
  912.            Format a floppy diskette (pmpshred.wav). 
  913.  
  914.         f. When you refresh the window contents manually (pmprefr.wav). 
  915.  
  916.         g. When you add (pmpadd.wav) or delete (pmpshred.wav) items from a 
  917.            window. 
  918.  
  919.         h. When you delete PM Patrol or Debug log files (pmpshred.wav). 
  920.  
  921.         i. When the PM Patrol Status Line, Activity Monitor, or PM Patrol's CPU 
  922.            monitor are suspended (pmppause.wav) and resumed (pmpreset.wav). 
  923.  
  924.         j. When using PM Patrol's print spooler management functions. This 
  925.            includes purging queues (pmpshred.wav), releasing queues 
  926.            (pmpreset.wav), and holding queues (pmppause.wav). 
  927.  
  928.         k. When PM Patrol windows are copied to the clipboard, printed, or 
  929.            saved to a file (pmprpt.wav). 
  930.  
  931.         l. When printing to local LPT1, LPT2, or LPT3 has completed spooling to 
  932.            printer (pmpprint.wav). 
  933.  
  934.         m. When remaining battery life drops below specified threshold 
  935.            (pmpbat.wav). 
  936.  
  937.         n. When available virtual memory falls below specified threshold 
  938.            (pmpvram.wav). 
  939.  
  940.         o. When the OS/2 swap file grows at any time (pmpgswap.wav). 
  941.  
  942.         p. When available OS/2 swap space falls below the specified threshold 
  943.            (pmpfswap.wav). 
  944.  
  945.         q. When average CPU exceeds specified threshold (pmpcpu.wav). 
  946.  
  947.         r. When PM Patrol logging is stopped or completed (pmpdone.wav). 
  948.  
  949.         s. When various "Reset" options are selected (pmpreset.wav). 
  950.  
  951.    2. Process Metering option enables or disables the Process Meter feature 
  952.       which provides ongoing monitoring of process metrics and statistics for 
  953.       analyzing duration, CPU effort, instances, execution dates, and more. 
  954.       Refer to the "Monitors" on-line section for details. 
  955.  
  956.    3. Confirmations option enables or disables PM Patrol from asking you for 
  957.       confirmation upon various events such as killing processes via the 
  958.       Process Monitor window. There are cases where PM Patrol will ignore this 
  959.       option and request confirmation for your own protection, even if this 
  960.       option is turned off. 
  961.  
  962.    4. Animated Windows option enables or disables the appearance of PM Patrol 
  963.       windows "zooming" in and out when windows are opened and closed. 
  964.  
  965.    5. Idle-Time Searches option controls the search priority for "Fast Find", 
  966.       "Drive Map", and "Fast Help" operations. When enabled, these operations 
  967.       only get OS/2 time slices when there is inactivity (idle) within your 
  968.       system. 
  969.  
  970.    6. Auto-Popup Menu option causes the PM Patrol Status Line popup menu to 
  971.       automatically popup when the mouse is moved over the Status Line within 1 
  972.       inch of the right or left side of the screen. No mouse click is 
  973.       necessary. Where the mouse pointer is outside of these 1 inch boundaries, 
  974.       PM Patrol behaves normally. This feature is nice for those who want 
  975.       ultra-fast access to PM Patrol features. When enabled, the double-click 
  976.       option off the Status Line is disabled. To access to PM Patrol "Options" 
  977.       window, select it off the popup menu. 
  978.  
  979.    7. Bitmap in Popup Menu option enables or disables displaying the PM Patrol 
  980.       bitmap in the Utility Popup menu accessed from the PM Patrol Status Line. 
  981.  
  982.    8. The Accumulative Internet Time option instructs PM Patrol to display the 
  983.       Internet Connect-Time on the Status Line as an accumulative value since 
  984.       the last time the Internet Connect-Time was reset. When disabled, PM 
  985.       Patrol will show the Internet Connect-Time since the last time PM Patrol 
  986.       was started or when the Internet Connect-Time was reset. When enabled, 
  987.       the total connect time is saved when PM Patrol is shutdown and carried 
  988.       across each invocation of PM Patrol. The Internet Connect-Time is 
  989.       reliable as long as PM Patrol is active and able to monitor when Internet 
  990.       connects occur. 
  991.  
  992.    9. The Sync Time with Server option enables or disables synchronization of 
  993.       date and time as compared to the network server currently logged-on to. 
  994.       When enabled and logged-on to a LAN Server, PM Patrol will (every 10 
  995.       minutes) synchronize the date and time with the LAN Server. This is set 
  996.       off by default. 
  997.  
  998.   10. The Check floppy at Shutdown will cause PM Patrol to warn you when PM 
  999.       Patrol is shutdown that there is a floppy diskette mounted in the boot 
  1000.       floppy drive. 
  1001.  
  1002.   11. The CPU Magnification provides the ability to magnify actual CPU 
  1003.       utilization. The value specified is a multiplier (1x, 2x, ... 25x). 
  1004.       Setting magnification to 1 will result in the same value for actual CPU. 
  1005.       The magnification can be monitored in either PM Patrol's Status Line or 
  1006.       Activity Monitor. By default, this option is not enabled in the Activity 
  1007.       Monitor and is set to 5 times (5x) in General Settings. This feature of 
  1008.       PM Patrol lends itself to high-end i486 and Pentium based CPUs and allows 
  1009.       the ability to "zoom" into CPU usage less than 1 percent. PM Patrol will 
  1010.       not report CPU magnification higher than 100 percent. 
  1011.  
  1012.   12. The Battery Calibration option allows you to specify the "zero" value for 
  1013.       the mobile computer's battery. The OS/2 APM facilities assume the battery 
  1014.       to be 100% new. As the battery ages, the original maximum life of the 
  1015.       battery diminishes. Especially for NICad batteries. PM Patrol allows you 
  1016.       to specify a "new" maximum life. When set at zero, observe the PM Patrol 
  1017.       "Bat" percentage. When your computer informs you the battery is 
  1018.       dangerously low (usually several short beeps), observe the percentage 
  1019.       that PM Patrol reports. This value becomes the new "zero" point. Select 
  1020.       this value in the "Calibration" field in the "General Settings" dialog. 
  1021.       Repeat this process every 3-4 months to ensure accurate and reliable 
  1022.       battery readings. 
  1023.  
  1024.  The following items discuss print Spooler options: 
  1025.  
  1026.    1. The Monitor Remote Queue(s) item allows you to select "local" or "Remote" 
  1027.       print queue(s) on a LAN Server and requires IBM LAN Requester be 
  1028.       installed on the local workstation. When enabled, the LAN Server 
  1029.       currently logged-on to is monitored.  PM Patrol automatically recognizes 
  1030.       when a new or different server is logged-on to and adjusts the monitoring 
  1031.       for that server. When not selected, the local workstation print queues 
  1032.       are monitored. This is the default. 
  1033.  
  1034.    2. PM Patrol displays a "?" on the Status Line when it can not poll print 
  1035.       spooler data - perhaps when the user is not logged-on to the server. 
  1036.  
  1037.    3. Monitoring a remote print spooler is only applicable if you have LAN 
  1038.       Requester installed on your workstation, and you are logged onto the 
  1039.       network server. 
  1040.  
  1041.    4. The "Total all Print Queues" option allows you to summarize all print 
  1042.       jobs across all queues and report this value. If this option is NOT 
  1043.       selected, PM Patrol reports the number of print jobs in each spooler 
  1044.       queue along with the status of the queue (h=held or r=released). 
  1045.  
  1046.  The Viewer identifies which OS/2 program/utility to use for viewing.  PM 
  1047.  Patrol uses this for Log viewing and others purposes as they surface in future 
  1048.  releases of PM Patrol. 
  1049.  
  1050.  The Editor identifies which OS/2 program/utility to use for editing.  PM 
  1051.  Patrol uses this for the "Fast Find" files facility and other purposes as they 
  1052.  surface in future releases of PM Patrol. 
  1053.  
  1054.  
  1055. ΓòÉΓòÉΓòÉ 9.2.3. Event Settings ΓòÉΓòÉΓòÉ
  1056.  
  1057. The following items discuss Event monitor options. The Sound Bites for the 
  1058. following events will only occur when "Sound Bites" is enabled in the "General 
  1059. Settings" window and MMPM/2 is installed on your system. 
  1060.  
  1061. When these selected events occur, you will be notified (if enabled) at the 
  1062. frequency specified under "Event Frequencies". By default, you are notified 
  1063. every 5 minutes after the event threshold has been exceeded and sustained for 1 
  1064. minute. 
  1065.  
  1066. Notification occurs in the form of Sound Bites (if enabled), speaker sounds, 
  1067. and/or short popup messages. For systems which are not multimedia enabled, PM 
  1068. Patrol will sound a short audible alarm when event thresholds are exceeded. 
  1069.  
  1070. When you start-up PM Patrol, events will not occur within the first 15 seconds 
  1071. while PM Patrol calibrates itself and initially samples all resources. 
  1072.  
  1073. PM Patrol events include: 
  1074.  
  1075.    1. Battery below ... option will cause PM Patrol to notify you when 
  1076.       remaining battery life drops below the percentage specified. This option 
  1077.       is available only for mobile computer systems with OS/2's Advanced Power 
  1078.       Management. 
  1079.  
  1080.    2. Avg CPU above ... option will cause PM Patrol to notify you when average 
  1081.       CPU exceeds the percentage specified. 
  1082.  
  1083.    3. Virtual RAM below ... option will cause PM Patrol to notify you when 
  1084.       available virtual memory falls below the amount specified. This amount is 
  1085.       represented in terms of Megabytes (MB). 
  1086.  
  1087.    4. Free Swap below  ... option will cause PM Patrol to notify you when 
  1088.       available swap space falls below the percentage specified. 
  1089.  
  1090.    5. Free RAM below  ... option will cause PM Patrol to notify you when 
  1091.       available RAM falls below the percentage specified. This option is not 
  1092.       recommended for use by systems with less than 16 MB of memory. 
  1093.  
  1094.    6. Swap File above... option will cause PM Patrol to notify you when the 
  1095.       OS/2 swap file (SWAPPER.DAT) exceeds the size specified. This size is 
  1096.       specified in terms of megabytes (MB). 
  1097.  
  1098.    7. Drive 1-6 below... option will cause PM Patrol to notify you when free 
  1099.       disk space falls below the amount specified. This amount is represented 
  1100.       in terms of megabytes (MB). The drive to be monitored must be selected in 
  1101.       the list box on the main "Options" dialog. You will not be able to select 
  1102.       event monitoring for the desired drive until this selection is done. 
  1103.  
  1104.  PM Patrol provides three different Notification Methods when event thresholds 
  1105.  are exceeded: 
  1106.  
  1107.    1. The Messages option will cause PM Patrol to notify you in the form of a 
  1108.       brief message when the above events occur. This message is a small pop-up 
  1109.       window that temporarily grabs the foreground for about 3-4 seconds. This 
  1110.       method is rather obtrusive and will visually interupt what your're 
  1111.       currently working on. Each event has a specific message. 
  1112.  
  1113.    2. The Sound Bites option will cause PM Patrol to notify you in the form of 
  1114.       multimedia sound effects when the above events occur. These sounds 
  1115.       require MMPM/2 and are background. 
  1116.  
  1117.    3. The PC Speakers option will cause PM Patrol to notify you in the form of 
  1118.       a short beep when the above events occur. 
  1119.  
  1120.    4. PM Patrol's Data Collection Facility APIs provide a means of real-time 
  1121.       event notification. 
  1122.  
  1123.  The Notification Frequencies allow you set two important setting which allow 
  1124.  you to control how often you are notified once an event threshold is exceeded, 
  1125.  and how long must the threshold be exceeded before notificaton occurs. 
  1126.  
  1127.    1. The Sustained State control informs PM Patrol to wait a certain amount of 
  1128.       time (seconds) while the threshold is exceeded before notifying you via 
  1129.       the methods you have selected. Hence, the threshold has to sustain an 
  1130.       exceeded state for the time you specifiy. 
  1131.  
  1132.    2. The Renotification control allows you to select how often you want to be 
  1133.       notified after the "Sustained State" has occured. Specifying zero will 
  1134.       turn off Renotification. When turned off, you will only be notified once 
  1135.       - when the Sustained State is reached. 
  1136.  
  1137.  The Event Monitor Window collects ALL selected events - even if you have 
  1138.  chosen not to be notified. The last time and the value of the "Sustained 
  1139.  State" of the event are reported in this window. 
  1140.  
  1141.  
  1142. ΓòÉΓòÉΓòÉ 9.2.4. Logger Settings ΓòÉΓòÉΓòÉ
  1143.  
  1144. The following items discuss Logger Settings: 
  1145.  
  1146.    1. The Log Items allows you to select which PM Patrol monitors you would 
  1147.       like to record while logging is active. Once the Logger is active, these 
  1148.       options are inaccessible.  Stop the Logger to change the "Logger 
  1149.       Settings". 
  1150.  
  1151.       Note:  The Process Detail option provides the ability to have PM Patrol 
  1152.       also log process detail information as seen in PM Patrol's Process 
  1153.       Monitor window. This additional detail will list all programs that are 
  1154.       active along with their process ID (PID) and the CPU used per process. 
  1155.       Enabling this will cause the log file size to increase based on the 
  1156.       number of processes actively running. 
  1157.  
  1158.    2. The Log Frequency allows you to select the frequency at which PM Patrol 
  1159.       logs selected monitor items. Valid values are 1 to 60 seconds (1 minute). 
  1160.  
  1161.    3. The Log Duration allows you to select how long (minutes) to perform 
  1162.       logging.  Valid values are 1 minute to 1440 (all day). 
  1163.  
  1164.       Note:  Specifying 1440 minutes enables continuous logging.  With this 
  1165.       enabled, the log files (primary and backup) get "rolled-over" at 
  1166.       midnight. The "Notify when Done" option is ignored when continuous 
  1167.       logging is enabled. 
  1168.  
  1169.       Note:  Worst case disk requirement for all day logging with backup is 16 
  1170.       MB. 1/2 of this when "Backup log File" is not enabled. 
  1171.  
  1172.       Note:  While continuous logging is active, the primary log file can not 
  1173.       be viewed. The backup log file (from the previous day) is always 
  1174.       accessible. 
  1175.  
  1176.    4. The Foreground Color and Background Color push-button items allow you to 
  1177.       select the PM Patrol Status Line colors when logging is active.  The 
  1178.       default colors reverse the foreground and background colors. 
  1179.  
  1180.    5. The Backup Log File causes the primary log file to be backed-up each time 
  1181.       a "Start Log" is initiated.  With this disabled, the primary log file is 
  1182.       overwritten. 
  1183.  
  1184.    6. The Notify When Done option provides the ability to have PM Patrol popup 
  1185.       a message on the OS/2 Desktop when logging has reached it's completion 
  1186.       via the "Log Duration" setting.  This is ignored for "Continuous 
  1187.       Logging". 
  1188.  
  1189.    7. The Path entry field allows you to specify the path location for both 
  1190.       primary and backup log files. 
  1191.  
  1192.       Note:  The primary and backup log files created by PM Patrol are named 
  1193.       "PMPATROL.LOG" for the primary and "PMPATROL.BAK" for the backup log 
  1194.       file. Both the primary and backup log files are ASCII.  Therefore, they 
  1195.       can be viewed and otherwise manipulated using such tools as Rexx, AWK, 
  1196.       and GREP. 
  1197.  
  1198.  The PM Patrol Logger is designed with special consideration for performance 
  1199.  and can be used in a variety of situations: 
  1200.  
  1201.    1. Real-time and time critical. Samples recorded every second. 
  1202.  
  1203.    2. Aggressive. Samples recorded every 2-3 seconds. 
  1204.  
  1205.    3. Casual. Samples recorded every minute. 
  1206.  
  1207.  The Logger buffers output to minimize disk write efforts. Worst case, the 
  1208.  Logger requires 1 physical disk write for every 10 Log records. 
  1209.  
  1210.  Because of the buffering technique used by the Logger, there are no special 
  1211.  performance requirements imposed on the user. However, it is recommended that 
  1212.  "Lazy Write" be enabled in the OS/2 CONFIG.SYS to improve OS/2 overall disk 
  1213.  performance and further minimize the PM Patrol Logging effort. 
  1214.  
  1215.  
  1216. ΓòÉΓòÉΓòÉ 9.2.5. Refresh Settings ΓòÉΓòÉΓòÉ
  1217.  
  1218. The following items discuss Refresh Settings for PM Patrol monitors. When 
  1219. setting these controls, try to stagger them so that each item occurs at a 
  1220. different time. 
  1221.  
  1222. The lower the frequency setting for a given monitor, the more timing-accurate 
  1223. the monitor will be. However, this lower frequency also causes PM Patrol to 
  1224. sample the resource more often thus creating more overhead. For i486 and 
  1225. Pentium based systems, setting these frequencies to minimum values will NOT 
  1226. create adverse effects. CPU overhead for PM Patrol is mimimal. 
  1227.  
  1228. The higher the frequency setting for a given monitor, the less timing-accurate 
  1229. and reliable the monitor will be. However, this higher frequency also reduces 
  1230. PM Patrol overhead for i386 based systems. 
  1231.  
  1232.    1. The Network Monitors refresh setting controls how often (seconds) PM 
  1233.       Patrol samples network presence, I/O statistics, logon, and workstation 
  1234.       status. The Network Monitor window is updated at this frequency as well. 
  1235.  
  1236.    2. The Spool Monitor refresh setting controls how often (seconds) PM Patrol 
  1237.       enumerates the total number of print jobs across all print queues. 
  1238.  
  1239.    3. The Drive Monitors refresh setting controls how often (seconds) PM Patrol 
  1240.       checks what drives are on-line and how much free disk space exists on 
  1241.       each. This does not effect the refresh of the Drives Monitor window which 
  1242.       updates every minute. 
  1243.  
  1244.    4. The Swap Monitor refresh setting controls how often (seconds) PM Patrol 
  1245.       checks how large the OS/2 swapper file is and how much free swapper space 
  1246.       there is. 
  1247.  
  1248.    5. The Activity Monitor refresh setting controls how often (seconds) PM 
  1249.       Patrol refreshes the items in the Activity Monitor window. 
  1250.  
  1251.    6. The Memory Monitors refresh setting controls how often (seconds) PM 
  1252.       Patrol checks free, virtual, and resident memory. The Memory Monitor 
  1253.       window is updated at this frequency as well. 
  1254.  
  1255.    7. The Process Monitors refresh setting controls how often (seconds) PM 
  1256.       Patrol refreshes the Process Monitor window, Process Summary information 
  1257.       in the PM Patrol Status Line, and Process Meter data collection (when 
  1258.       enabled). The other Process Monitor functions do not automatically 
  1259.       refresh and are therefore not subject to this refresh control. 
  1260.  
  1261.    8. The User Defined Monitor refresh setting controls how often (seconds) PM 
  1262.       Patrol refreshes the User Defined Monitor information in PM Patrol's main 
  1263.       Status Line. Using the PM Patrol "DCFUserDefined" API within a C/C++ 
  1264.       program, you can format a monitor buffer of your choice. Refer to the API 
  1265.       description for DCFUserDefined for details. 
  1266.  
  1267.  Note:  The CPU effort to collect Process Meter data, although minimal when 
  1268.  active, can be negatively influenced by adjusting the "Process Monitors" 
  1269.  frequency in PM Patrol's "Refresh Settings" dialog too low - depending on the 
  1270.  computer. As a rule of thumb, set the "Process Monitors" frequency to the 
  1271.  following, but never lower: 
  1272.  
  1273.    1. 5 seconds for i386 class computers 
  1274.  
  1275.    2. 4 seconds for i486 class computers 
  1276.  
  1277.    3. 3 seconds for Pentium class computers 
  1278.  
  1279.  
  1280. ΓòÉΓòÉΓòÉ 9.2.6. Status Line Font ΓòÉΓòÉΓòÉ
  1281.  
  1282. The Status Line Font option allows you to set the display font for the PM 
  1283. Patrol Status Line window. 
  1284.  
  1285. The font of choice for the PM Patrol Status Line is the "System VIO" family. 
  1286.  
  1287. You can also use the Font Palette in the OS/2 "System Settings" folder by 
  1288. dragging the font to the PM Patrol Status Line. 
  1289.  
  1290.  
  1291. ΓòÉΓòÉΓòÉ 9.2.7. Status Line Colors ΓòÉΓòÉΓòÉ
  1292.  
  1293. The Status Line Colors option allows you to set the foreground and background 
  1294. colors for the PM Patrol Status Line window. 
  1295.  
  1296. The Color Propagation option informs PM Patrol to use the color settings 
  1297. selected throughout all PM Patrol windows - as opposed to the current OS/2 
  1298. color definitions. 
  1299.  
  1300. Note:  The font of choice for the PM Patrol Status Line is the "System VIO" 
  1301. family. 
  1302.  
  1303. You can also use the Font Palette in the OS/2 "System Settings" folder by 
  1304. dragging the font to the PM Patrol Status Line. 
  1305.  
  1306.  
  1307. ΓòÉΓòÉΓòÉ 9.2.8. Security ΓòÉΓòÉΓòÉ
  1308.  
  1309. The Security option allows you to set a password that restricts access to PM 
  1310. Patrol configuration, settings, and monitor items. 
  1311.  
  1312. Simply enter a password and PM Patrol security is enabled. To turn off 
  1313. security, simply remove the password. 
  1314.  
  1315. When enabled, the security will restrict access to: 
  1316.  
  1317.    1. All "Options" dialog functions 
  1318.  
  1319.    2. Changing monitored items from the "Utility" popup menu 
  1320.  
  1321.    3. The Program Settings dialog from the "Utility" popup menu 
  1322.  
  1323.    4. The Scheduler Settings dialog from the "Utility" popup menu 
  1324.  
  1325.    5. PM Patrol Logging functions from the "Utility" popup menu 
  1326.  
  1327.  
  1328. ΓòÉΓòÉΓòÉ 9.3. Exit ΓòÉΓòÉΓòÉ
  1329.  
  1330. This option is used to end the PM Patrol program 
  1331.  
  1332.  
  1333. ΓòÉΓòÉΓòÉ 9.4. Status Line Options ΓòÉΓòÉΓòÉ
  1334.  
  1335. This section describes PM Patrol's Status Line Options and Graphs available in 
  1336. the "Options" window. The descriptions and application of the individual Status 
  1337. Line Monitors are discussed in detail under the on-line help section called 
  1338. "Status Line". 
  1339.  
  1340. Some of these options may be grayed-out and inaccessible if the related monitor 
  1341. is not selected in the Status Line Monitor list-box. 
  1342.  
  1343. The CPU Average option enables or disables the display of the "rolling average" 
  1344. of CPU activity covering the last 1 minute. This option is accessible only when 
  1345. "CPU Monitor" is selected in "Status Line" monitors. 
  1346.  
  1347. The CPU Magnified option enables or disables the display of CPU magnification 
  1348. as setup in the General Settings. This option is accessible only when "CPU 
  1349. Monitor" is selected in "Status Line" monitors and offers the ability to 
  1350. monitor CPU activity at a very granular level. 
  1351.  
  1352. The RAM Percent option enables or disables the display of percentage of free 
  1353. RAM as compared to total physical memory installed in the computer. This option 
  1354. is accessible only when "Free RAM Monitor" is selected in "Status Line" 
  1355. monitors. 
  1356.  
  1357. The Float to Top option enables or disables the PM Patrol Status Line being 
  1358. kept as the "topmost" window on the OS/2 desktop and therefore visible all the 
  1359. time. When obscured by another window, the Status Line will "float" to the top 
  1360. of the desktop - but will not be the active window. 
  1361.  
  1362. Note:  Refer to the on-line help section "Trouble Shooting" for idiosyncrasies 
  1363. associated with the "Float to Top" option under OS/2 versions 2.1 and 2.11. 
  1364.  
  1365. The Show Floppies option enables or disables the display of floppy disk drives 
  1366. in the "Drives On-line" monitor. 
  1367.  
  1368. The Show Seconds option enables or disables PM Patrol displaying current 
  1369. seconds within the Time on the main Status Line. 
  1370.  
  1371. The Show Julian Date option enables or disables PM Patrol displaying the 
  1372. current Julian date (in addition to the normal Gregorian date) on the main 
  1373. Status Line. 
  1374.  
  1375. The Show Decimals option enables or disables PM Patrol displaying the decimal 
  1376. position for several of the Status Line monitors. When disabled, PM Patrol will 
  1377. apply standard rounding across affected values. 
  1378.  
  1379. The Show Compact option enables or disables PM Patrol displaying status 
  1380. information in "compact" form. When enabled, the monitor items on the PM Patrol 
  1381. Status Line have their abbreviations (i.e. "Ram", "Spl") removed thus allowing 
  1382. for more room within the Status Line window. 
  1383.  
  1384. The CPU Graph option enables or disables a visually graphic display of CPU 
  1385. activity. This option is accessible only when "CPU Monitor" is selected in 
  1386. "Status Line" monitors. 
  1387.  
  1388. The RAM Graph option enables or disables a visually graphic display of free 
  1389. RAM. This option is accessible only when "Free RAM Monitor" is selected in 
  1390. "Status Line" monitors. 
  1391.  
  1392. The Resident RAM Graph option enables ordisables a visually graphic display of 
  1393. current Resident RAM as compared to total physical memory. This option is 
  1394. accessible only when "Resident RAM" is selected in "Status Line" monitors. 
  1395.  
  1396. The Virtual RAM Graph option enables or disables a visually graphic display of 
  1397. current used Virtual RAM as compared to total virtual memory available. It is 
  1398. accessible only when "Virtual RAM" is selected in "Status Line" monitors. 
  1399.  
  1400. The Free Swap Graph option enables or disables a visually graphic display of 
  1401. current free swap as compared to the current size of the swap file and is 
  1402. accessible only when "Swap Monitor" is selected in "Status Line" monitors. 
  1403.  
  1404.  
  1405. ΓòÉΓòÉΓòÉ 9.5. Status Line Monitors ΓòÉΓòÉΓòÉ
  1406.  
  1407. The Status Line Monitors list-box contains all the PM Patrol monitors that you 
  1408. may select for display on the PM Patrol Status Line. 
  1409.  
  1410. Selecting monitor items for the Status Line does NOT imply that these same 
  1411. selected monitors are those which are logged via PM Patrol's Logging facility. 
  1412. The Logging facility contains its own monitor selections and can be customized 
  1413. under the "Logger Settings" dialog. 
  1414.  
  1415. The Status Line is updated immediately when monitors are selected or 
  1416. deselected. 
  1417.  
  1418. These monitor items within the listbox are discussed in detail under the 
  1419. on-line help section called "Status Line". 
  1420.  
  1421.  
  1422. ΓòÉΓòÉΓòÉ 10. Monitors ΓòÉΓòÉΓòÉ
  1423.  
  1424. This section describes various performance monitors of PM Patrol. 
  1425.  
  1426.  
  1427. ΓòÉΓòÉΓòÉ 10.1. Activity Monitor ΓòÉΓòÉΓòÉ
  1428.  
  1429. The Activity Monitor window provides a line-graph view of several OS/2 
  1430. resources. 
  1431.  
  1432.    1. "Free Swap" is a blue line and represents free swapper space. When 
  1433.       enabled, the "Used Swap" graph line is disabled. 
  1434.  
  1435.    2. "Used Swap" is a blue line and represents used swapper space. When 
  1436.       enabled, the "Free Swap" graph line is disabled. Due to the nature and 
  1437.       dynamics of OS/2's method of virtual memory swapping, PM Patrol's 
  1438.       calculation of swap utilization can result in an approximation. 
  1439.  
  1440.    3. "Current CPU" is a yellow line and represents the current CPU 
  1441.       utilization. 
  1442.  
  1443.    4. "Average CPU" is a white line and represents the rolling average CPU 
  1444.       utilization. 
  1445.  
  1446.    5. "Magnified CPU" is a pink line (may be purplish on color depths greater 
  1447.       than 640x480) and represents a magnified CPU utilization. The level of 
  1448.       magnification is specified in "General Settings". By default, this option 
  1449.       is not enabled and is set for 90 percent magnification in General 
  1450.       Settings. This feature of PM Patrol lends itself to high-end i486 and 
  1451.       Pentium based CPUs. Magnification is not reflected in the normal CPU 
  1452.       monitor on the PM Patrol Status Line window. 
  1453.  
  1454.    6. "Free RAM" is a green line and represents memory available for OS/2 and 
  1455.       applications. When enabled, the "Used RAM" graph line is disabled. 
  1456.  
  1457.    7. "Used RAM" is a green line and represents the memory in use by OS/2 and 
  1458.       applications. When enabled, the "Free RAM" graph line is disabled. 
  1459.  
  1460.    8. "Resident RAM" is a cyan line represents resident non-swappable memory 
  1461.       locked by OS/2 or applications. 
  1462.  
  1463.    9. "Swappable RAM" is a red line and represents memory capable of being 
  1464.       swapped-out by OS/2. 
  1465.  
  1466.  This window is refreshed automatically at the frequency as set in the "Refresh 
  1467.  Settings" setting "Activity Monitor". 
  1468.  
  1469.  The following itemizes the mouse button activities for the Activity Monitor. 
  1470.  
  1471.    1. A "Chord-Click" (left and right mouse buttons together) in the Activity 
  1472.       Monitor window will toggle the window title bar on and off. 
  1473.  
  1474.    2. A "Double-Click" with the left button in the Activity Monitor window will 
  1475.       toggle between Maximized and Restore views for the window. This is a 
  1476.       useful feature when the "Hide Title Bar" feature is used. 
  1477.  
  1478.    3. A "Single-Click" with the right button in the Activity Monitor window 
  1479.       will popup a menu allowing you select which line graphs to view and 
  1480.       change window controls ("Hide Title Bar", "Smoothed Lines", and "Float to 
  1481.       Top"). 
  1482.  
  1483.    4. Holding down the right mouse button (button 2), you may drag the Activity 
  1484.       Monitor window to the desired position. 
  1485.  
  1486.  The "Float to Top" option enables or disables the Activity Monitor window 
  1487.  being kept as the "topmost" window on the OS/2 desktop and therefore visible 
  1488.  all the time. 
  1489.  
  1490.  When enabled, the "Smoothed Lines" option will attempt to "fillet" or 
  1491.  smooth-out the line graphs reducing the effect of sharp jagged points. 
  1492.  
  1493.  Note:  "Smoothed Lines" will cause more overhead during refresh. If you have a 
  1494.  slower machine, you should be aware of this. An additional 3-5% more overhead 
  1495.  per refresh is not uncommon - depending on the speed of your computer. 
  1496.  
  1497.  When enabled, the "Sliding Graph" option will maintain a continuous graph that 
  1498.  will slide left 1 point after each refresh, thus filling the entire window 
  1499.  width of the graphing area. Otherwise, the graph lines will be "centered" and 
  1500.  will cause graph lines to restart from the center of the graph window when the 
  1501.  graph lines reach the rightmost edge. 
  1502.  
  1503.  The "Hide Title Bar" option allows the window to be sized to a minimum size 
  1504.  without the window title bar and controls getting in the way. 
  1505.  
  1506.  Accessed from the Activity Monitor popup window, the Legend shows the identity 
  1507.  and color of each monitor line along with the current statistics for each 
  1508.  monitor item. The legend can be configured to start-up automatically when the 
  1509.  Activity Monitor is started by selecting the "Auto-Start Legend" option also 
  1510.  in the popup menu. 
  1511.  
  1512.  Additionally, the "Persistent Legend" causes the legend to be started and 
  1513.  remain visible while the Activity Monitor is in a maximized state. 
  1514.  
  1515.  
  1516. ΓòÉΓòÉΓòÉ 10.2. Process Monitor ΓòÉΓòÉΓòÉ
  1517.  
  1518. The Process Monitor window provides the ability to monitor OS/2 active 
  1519. processes, threads, process and thread priorities, shared memory, DLLs, and CPU 
  1520. use per process. Processes (PIDs) can be "killed" by selecting "Kill" from the 
  1521. "Action" menu. 
  1522.  
  1523. Note:  With all PM Patrol Monitor windows (i.e. Process Monitor, Memory 
  1524. Monitor, and Network Monitor) active and automatically refreshing, may be too 
  1525. much overhead for some slower 386 class computers. Therefore, you may need to 
  1526. use these windows selectively and not continuously. The Process Monitor window 
  1527. will increase PM Patrol's CPU requirements by an additional 1-3 percent 
  1528. depending on your CPU speed. 
  1529.  
  1530. The container control in the Process Monitor window supports right-click popups 
  1531. for quick access to "Action" items and double-click selections. Double-clicking 
  1532. in the Process Monitor window invokes the Thread Monitor for the Process ID 
  1533. selected. 
  1534.  
  1535. The "View" menu item provides options to let you select the desired Process 
  1536. Monitor display and the following detail items: 
  1537.  
  1538.    1. The "Background" option switches the display to include/exclude processes 
  1539.       which are "System" or "Detached" process types or have no Session ID 
  1540.       (SID). This option provides the ability to focus only on "Foreground" 
  1541.       programs active on your system. Foreground programs will include all OS/2 
  1542.       PM, OS/2 character based, and DOS+Windows programs. When background 
  1543.       processes are filtered-out, the Process Monitor window will show the 
  1544.       total CPU used by background processes under the name "Bgnd (n)". Where n 
  1545.       reflects the number of process in the background. 
  1546.  
  1547.    2. The "Idle Time" option switches the display to include/exclude Idle 
  1548.       System time. When applications consume CPU, "Idle System" will decrease. 
  1549.       When your system sits idle, "Idle System" increases. When enabled, idle 
  1550.       CPU will be shown under the name "Idle Time". 
  1551.  
  1552.    3. The "Run-Time" option provides the ability to view the duration for which 
  1553.       a process has been active and running and is only applicable to the 
  1554.       "Process Monitor" window. 
  1555.  
  1556.    4. The "Session Title" option switches the display from executable names to 
  1557.       session names and is applicable to the "Process Monitor" and "Process 
  1558.       Summary" windows only. Some instances will show what appears to be a 
  1559.       duplicate session name. This occurs when one or more processes have the 
  1560.       same OS/2 Group Session/Screen ID. There is NOT always a 1 to 1 
  1561.       relationship between a Process and a Session. 
  1562.  
  1563.       Note:  Not all processes have a Session and will therefore display the 
  1564.       executable name instead. This occurs when the process never had a Session 
  1565.       to begin with, such as a daemon processes ("Detached" or "System" session 
  1566.       types). 
  1567.  
  1568.    5. The "Float to Top" option enables or disables the Process Monitor window 
  1569.       being kept as the "topmost" window on the OS/2 desktop and therefore 
  1570.       visible all the time. When obscured by another window, the Process 
  1571.       Monitor window will "float" to the top of the desktop - but will not be 
  1572.       the active window. 
  1573.  
  1574.       Note:  Refer to the on-line help section "Trouble Shooting" for 
  1575.       idiosyncrasies associated with the "Float to Top" option under OS/2 
  1576.       versions 2.1 and 2.11. 
  1577.  
  1578.  Note:  The Process Monitor window will always attempt to display the Session 
  1579.  Title for DOS/Windows programs. In the event that this can not be 
  1580.  accomplished, the name "dos/win" will be used. 
  1581.  
  1582.  The "Process Meter" option provides an alternative access point for the 
  1583.  Process Meter window and can also be accessed from the PM Patrol Utility 
  1584.  pop-up window. 
  1585.  
  1586.  The data displayed in the Process Monitor window is outlined below. Press 
  1587.  Escape to exit the window and terminate the "Process Monitor" facility. 
  1588.  
  1589.    1. "PID" Process ID (displayed as a hex value) 
  1590.  
  1591.    2. "Type" Session Type of process. Session types are categorized as: 
  1592.  
  1593.         a. "Sys" OS/2 System type processes. 
  1594.  
  1595.         b. "PM " OS/2 Presentation Manager GUI processes. 
  1596.  
  1597.         c. "VIO" OS/2 Window and full screen command prompt processes. VIO 
  1598.            represents Virtual Input/Output. 
  1599.  
  1600.         d. "VDM" DOS and Win-OS2 GUI processes. VDM represents Virtual DOS 
  1601.            Machine. 
  1602.  
  1603.         e. "Det" OS/2 detached background processes (daemons). 
  1604.  
  1605.    3. "HPri" Identifies the Highest PRIority class for the process across all 
  1606.       threads within the process. Refer to the Thread Monitor section below for 
  1607.       detailed descriptions of priority Classes. 
  1608.  
  1609.    4. "Thd" Number of threads in the process 
  1610.  
  1611.    5. "Run-Time" represents the duration for which a process has been actively 
  1612.       running and has the format "dd hh:mm" where: 
  1613.  
  1614.         a. "dd" is Days 
  1615.  
  1616.         b. "hh" is Hours 
  1617.  
  1618.         c. "mm" is Minutes 
  1619.  
  1620.       Note:  The "Run-Time" of a process is relative to when PM Patrol was 
  1621.       started. If PM Patrol is stopped and then restarted, the "Run-Time" for 
  1622.       processes will reset. It is recommended that PM Patrol be placed in the 
  1623.       OS/2 "Startup" folder so it is automatically started when you boot your 
  1624.       system. As a result, the "Run-Time" values will reflect very accurate 
  1625.       results. 
  1626.  
  1627.    6. "CPU" Amount of Relative CPU time the process (PID) consumed since the 
  1628.       last sample along with a bar-graph representation and percentage of total 
  1629.       CPU load across all processes. This is a "relative" CPU load as compared 
  1630.       to other active OS/2, DOS, and Windows programs. 
  1631.  
  1632.    7. "Process" Name of the executable or session 
  1633.  
  1634.  The data displayed in the Process Summary is outlined below. Press Escape to 
  1635.  exit the window and return to "Process Monitor". 
  1636.  
  1637.    1. "PID" Process ID (displayed as a hex value) 
  1638.  
  1639.    2. "PPID" Parent Process ID (displayed as a hex value) 
  1640.  
  1641.    3. "SID" Session ID (displayed as a hex value) 
  1642.  
  1643.    4. "Type" Session Type of process 
  1644.  
  1645.    5. "HMod" Program Executable module handle (displayed as a hex value) 
  1646.  
  1647.    6. "Thd" Number of threads in the PID 
  1648.  
  1649.    7. "Sem" Number of semaphores used by the PID 
  1650.  
  1651.    8. "DLL" Number of DLL modules used by the PID 
  1652.  
  1653.    9. "Shr" Number of shared memory references used by PID 
  1654.  
  1655.   10. "MMT" Memory Model Type of process (16 or 32 bit) 
  1656.  
  1657.   11. "Process" Name of the executable or session 
  1658.  
  1659.  The data displayed in the Thread Monitor window is for a given PID and is 
  1660.  outlined below. Press Escape to exit the window and return to "Process 
  1661.  Monitor". 
  1662.  
  1663.    1. "TID" Thread ID (displayed as a hex value). 
  1664.  
  1665.    2. "Slot" Slot ID for the TID (displayed as a hex value). 
  1666.  
  1667.    3. "Block ID" Block identifier for a blocked TID (displayed as a hex value). 
  1668.       A thread that is a "Ready" state will typically have a "Block ID" of 
  1669.       zero. 
  1670.  
  1671.    4. "Pri" Current priority for the TID.  This displays both priority Class 
  1672.       along with the current Range priority (display in decimal format) within 
  1673.       the Class. Priority "Ranges" operate within a priority Class and range 
  1674.       from 0 to 31, 0 being the lowest and the "normal" OS/2 default. The Range 
  1675.       provides robust priority control and granularity. Priority Classes are 
  1676.       categorized as: 
  1677.  
  1678.         a. "Idle" for low priority processes which only get CPU when nothing 
  1679.            else is running and the lowest OS/2 priority. 
  1680.  
  1681.         b. "Reg" for "normal" priority processes. This is the OS/2 default and 
  1682.            will be seen most often. 
  1683.  
  1684.         c. "Fore" for foreground priority processes. This is used for 
  1685.            processes/threads which need to be treated as if they are the 
  1686.            "active" window. Net effect of this class makes the process thread 
  1687.            operate at near time-critical performance. 
  1688.  
  1689.         d. "Crit" for time-critical processes and is the highest OS/2 priority. 
  1690.            This is used for process threads which require guaranteed 
  1691.            time-slices by OS/2 but the thread's CPU needs are typically very 
  1692.            short. 
  1693.  
  1694.    5. "Sys CPU" Amount of time thread spends in the OS/2 kernel along with the 
  1695.       percent of "Sys CPU" compared to TOTAL "Sys CPU" for all threads in the 
  1696.       same PID. 
  1697.  
  1698.    6. "User CPU" Amount of time application time for the thread along with the 
  1699.       percentage of "User CPU" compared to TOTAL "User CPU" for all threads in 
  1700.       the same PID.  This is relative to other threads getting time slices in 
  1701.       the same PID. 
  1702.  
  1703.    7. "State" Identifies what state the thread is in: Blocked, Frozen, Running, 
  1704.       or Ready. 
  1705.  
  1706.  The data displayed in Shared Memory window has the following attributes: Press 
  1707.  Escape to exit the window and return to "Process Monitor". 
  1708.  
  1709.    1. "HMem" Handle to memory allocation (displayed as a hex value) 
  1710.  
  1711.    2. "Sel" Selector to memory (displayed as a hex value) 
  1712.  
  1713.    3. "Refs" Number of references to the memory 
  1714.  
  1715.    4. "Name" Name of the memory used for obtaining addressability 
  1716.  
  1717.  The data displayed in the Dynamic Link Libs, Device Drivers, and File Systems 
  1718.  are outlined below. Press Escape to exit the window and return to "Process 
  1719.  Monitor". 
  1720.  
  1721.    1. "HMod" Handle to the module (displayed as a hex value) 
  1722.  
  1723.    2. "MMT" Memory Model Type of process (16 or 32 bit) 
  1724.  
  1725.    3. "Refs" Number of references to the module 
  1726.  
  1727.    4. "Name" Name of the module 
  1728.  
  1729.  
  1730. ΓòÉΓòÉΓòÉ 10.3. Process Meter ΓòÉΓòÉΓòÉ
  1731.  
  1732. The Process Meter window provides the ability to monitor process statistics for 
  1733. identifying duration and CPU consumption over a range of time. 
  1734.  
  1735. The "Process Metering" option in the PM Patrol "General Settings" dialog 
  1736. controls when this feature is active or inactive. For slower systems (i386 
  1737. class computers), turn Process Metering off if it is not used. 
  1738.  
  1739. By default, PM Patrol resets the Process Meter data base each time PM Patrol is 
  1740. started. This "Startup" option in PM Patrol's "General Settings" window 
  1741. controls this behavior. To keep PM Patrol from resetting the statistics, turn 
  1742. off the "Reset Process Meter" option. Doing so will cause PM Patrol to retain 
  1743. statistics across each invocation of PM Patrol. 
  1744.  
  1745. At the refresh interval as specified by "Process Monitors" in PM Patrol's 
  1746. "Refresh Settings", PM Patrol quietly collects vital information about active 
  1747. processes running on your system. The data collection algorithm used within the 
  1748. Process Meter facility is highly optimized and based on how frequently programs 
  1749. are used on your system, therefore using minimal CPU effort. 
  1750.  
  1751. All data is obtained by PM Patrol and requires no user input. 
  1752.  
  1753. The "Process Meter" window provides the ability to view several items about 
  1754. your programs over a range of time. This range of time is completely under your 
  1755. control as you have the ability to "Reset" the Process Meter data base any 
  1756. time. 
  1757.  
  1758.    1. Analyze the CPU consumption for each program you run relative to ALL 
  1759.       other programs that have been run since the last time you reset the 
  1760.       statistics. 
  1761.  
  1762.    2. Analyze the execution time used for each program you run relative to ALL 
  1763.       other programs that have been run since the last time you reset the 
  1764.       statistics. 
  1765.  
  1766.    3. Analyze the number of instances a program has been invoked. 
  1767.  
  1768.    4. Analyze the first and most recent date of execution for all processes run 
  1769.       on your OS/2 system. 
  1770.  
  1771.    5. Analyze the process types and priorities for all processes run on your 
  1772.       OS/2 system. 
  1773.  
  1774.    6. Sort in ascending order by process, CPU use, Run-Time, and frequency of 
  1775.       use. 
  1776.  
  1777.         a. Sort by Process sorts the list in alphabetic (ascending) order. 
  1778.  
  1779.         b. Sort by CPU Use sorts the list in descending order (processes 
  1780.            consuming most CPU are listed first). 
  1781.  
  1782.         c. Sort by Run-Time sorts the list in descending order (processes which 
  1783.            run the longest when executed are listed first). 
  1784.  
  1785.         d. Sort by Run-Count sorts the list in descending order (processes 
  1786.            which get run the most often are listed first). 
  1787.  
  1788.  Use the "Refresh" menu option (under "Action") for refreshing the Process 
  1789.  Meter window contents upon your request. PM Patrol will automatically update 
  1790.  this window for you every minute - but not when the Process Meter window is 
  1791.  the current "active" desktop window. This allows you to browse through the 
  1792.  list without being disturbed. 
  1793.  
  1794.  Use the "Reset Data Base" menu option (also under "Action") to initialize PM 
  1795.  Patrol's Process Meter data base. This erases the current list and restarts 
  1796.  the data collection process allowing you to monitor over a new range of time. 
  1797.  
  1798.  The Process Meter data base is maintained entirely by PM Patrol and saved when 
  1799.  PM Patrol is shutdown. The next time you run PM Patrol (typically at the next 
  1800.  OS/2 bootup) the data base is quickly reloaded and monitoring continues where 
  1801.  left off. 
  1802.  
  1803.  Note:  The CPU effort to collect Process Meter data, although minimal when 
  1804.  active, can be negatively influenced by adjusting the "Process Monitors" 
  1805.  frequency in PM Patrol's "Refresh Settings" dialog too low - depending on the 
  1806.  computer. As a rule of thumb, set the "Process Monitors" frequency to the 
  1807.  following, but never lower: 
  1808.  
  1809.    1. 5 seconds for i386 class computers 
  1810.  
  1811.    2. 4 seconds for i486 class computers 
  1812.  
  1813.    3. 3 seconds for Pentium class computers 
  1814.  
  1815.  The items displayed in the Process Meter window are: 
  1816.  
  1817.    1. "Process" represents the name of the executable 
  1818.  
  1819.    2. "Actual CPU" represents the actual CPU effort the process has used since 
  1820.       the last time the Process Meter was reset and reflects CPU usage only 
  1821.       when the process is active. This is an absolute CPU effort and not 
  1822.       relative to other programs run. Actual CPU tells you how much CPU the 
  1823.       process uses when its run. 
  1824.  
  1825.    3. "Relative CPU" represents the CPU effort the process has used, relative 
  1826.       to other programs used, since the last time the Process Meter was reset. 
  1827.  
  1828.    4. "Run-Time" represents the total amount of execution time for the process, 
  1829.       relative to other programs used, since the last time you performed a 
  1830.       "Reset Data Base". Next to "Run-Time" is the total execution time or 
  1831.       "Duration" for the process since the last "Reset Data Base". The format 
  1832.       displayed identifies Days, Hours, Minutes, and Seconds (Dd Hh:Mm.Ss). 
  1833.  
  1834.    5. "Run-Count" represents the total number of times the process has been 
  1835.       executed relative to other processes. The actual total number of 
  1836.       instances is identified under the heading "Frequency" (abbreviated as 
  1837.       "Freq"). 
  1838.  
  1839.    6. "Type" identifies the session type which are categorized as follows: 
  1840.  
  1841.         a. "Sys" OS/2 System type processes. 
  1842.  
  1843.         b. "PM " OS/2 Presentation Manager GUI processes. 
  1844.  
  1845.         c. "VIO" OS/2 Window and full screen command prompt processes. VIO 
  1846.            represents Virtual Input/Output. 
  1847.  
  1848.         d. "VDM" DOS and Win-OS2 GUI processes. VDM represents Virtual DOS 
  1849.            Machine. 
  1850.  
  1851.         e. "Det" OS/2 detached background processes (daemons). 
  1852.  
  1853.    7. "HPri" Identifies the Highest PRIority class for the process across all 
  1854.       threads within the process. The range of priority within OS/2 provides 
  1855.       robust priority control and granularity. Priority Classes are categorized 
  1856.       as: 
  1857.  
  1858.         a. "Idle" for low priority processes which only get CPU when nothing 
  1859.            else is running and the lowest OS/2 priority. 
  1860.  
  1861.         b. "Reg" for "normal" priority processes. This is the OS/2 default and 
  1862.            will be seen most often. 
  1863.  
  1864.         c. "Fore" for foreground priority processes. This is used for 
  1865.            processes/threads which need to be treated as if they are the 
  1866.            "active" window. Net effect of this class makes the process thread 
  1867.            operate at near time-critical performance. 
  1868.  
  1869.         d. "Crit" for time-critical processes and is the highest OS/2 priority. 
  1870.            This is used for process threads which require guaranteed 
  1871.            time-slices by OS/2 but the thread's CPU needs are typically very 
  1872.            short. 
  1873.  
  1874.    8. "MMT" represents the Memory Model Type of process (16 or 32 bit) 
  1875.  
  1876.    9. "Last Run" represents the last recent date the process was executed. 
  1877.  
  1878.   10. "First Run" represents the first date the process was executed. 
  1879.  
  1880.  Note:  This release of PM Patrol's Process Meter groups together the Run-time 
  1881.  and CPU efforts for all DOS+Win programs and identifies them in the Process 
  1882.  Meter list with a Process name of "DOS/Win". OS/2 command and REXX scripts 
  1883.  (.CMD) are reflected within the Process "cmd" - the actual executable which 
  1884.  supports REXX scripts. 
  1885.  
  1886.  
  1887. ΓòÉΓòÉΓòÉ 10.4. Memory Monitor ΓòÉΓòÉΓòÉ
  1888.  
  1889. The Memory Monitor window provides an optional view of several memory 
  1890. utilization monitors. 
  1891.  
  1892. This window is refreshed automatically at the frequency as set in the "Refresh 
  1893. Settings" setting "Memory Monitors". 
  1894.  
  1895.    1. The RAM Free item identifies current free memory. 
  1896.  
  1897.    2. The RAM Used item identifies current used memory. Combined, these two 
  1898.       items will always reflect 100% of the memory installed in your computer. 
  1899.  
  1900.    3. The Resident item identifies current resident or "fixed" memory which is 
  1901.       not swappable by OS/2. Most of this memory is owned and created by OS/2 
  1902.       and will vary little. 
  1903.  
  1904.    4. The Swappable item identifies current swappable memory and only includes 
  1905.       memory that is in use and not resident (or fixed). Therefore, the sum of 
  1906.       "Resident" and "Swappable" may not always equate to total physical 
  1907.       memory. Any difference can be attributed to free (unused) memory which is 
  1908.       not swapped. 
  1909.  
  1910.    5. The Virtual RAM item identifies current Virtual Memory capacity available 
  1911.       to OS/2. This item factors in available disk space for the drive which 
  1912.       the OS/2 swapper file is located as well as swapper file size. 
  1913.  
  1914.    6. The Swap Growth item identifies how much the swapper file has grown since 
  1915.       system boot. 
  1916.  
  1917.    7. The Swap Free item identifies how much free space remains in the OS/2 
  1918.       swapper file. 
  1919.  
  1920.    8. The Cache Read and Cache Write items identify the cache hit utilization 
  1921.       for HPFS386 and is only displayed when HPFS386 is installed and active. 
  1922.  
  1923.  Note:  With all PM Patrol Monitor windows (ie. Process Monitor, Memory 
  1924.  Monitor, and Network Monitor) active and automatically refreshing, there may 
  1925.  be too much overhead for some slower 386 class computers. Therefore, you may 
  1926.  need to use these windows selectively and not continuously. 
  1927.  
  1928.  
  1929. ΓòÉΓòÉΓòÉ 10.5. Network Monitor ΓòÉΓòÉΓòÉ
  1930.  
  1931. The Network Monitor window provides an optional view of several LAN network 
  1932. utilization monitors. 
  1933.  
  1934. This window is refreshed automatically at the frequency as set in the "Refresh 
  1935. Settings" setting "Network Monitors". 
  1936.  
  1937. The Network Monitor window is inaccessible and grayed-out in the PM Patrol 
  1938. Utility menu when LAN Server components are not installed on the workstation. 
  1939.  
  1940.    1. The Machine item identifies the workstation ID and does not change unless 
  1941.       the workstation id is changed manually and the system rebooted. 
  1942.  
  1943.    2. The User item identifies the current user logged to the LAN. 
  1944.  
  1945.    3. The Server Id item identifies the server ID that is currently logged on 
  1946.       to by the active user. 
  1947.  
  1948.    4. The Domain item identifies the domain ID that is currently logged on to 
  1949.       by the active user. 
  1950.  
  1951.    5. The Tot In item identifies the total accumulative bytes received by this 
  1952.       workstation from the LAN. The graph identifies "Total In" as compared to 
  1953.       total bytes received AND sent and therefore is a percent of total I/O. 
  1954.  
  1955.    6. The Tot Out item identifies the total accumulative bytes sent by this 
  1956.       workstation to the LAN. The graph identifies "Total Out" as compared to 
  1957.       total bytes received AND sent and therefore is a percent of total I/O. 
  1958.  
  1959.    7. The Bps In item identifies "Bytes Per Second" and is the average number 
  1960.       of bytes RECEIVED via LAN over the last "n" seconds where "n" is the 
  1961.       refresh frequency as set in the "Refresh Settings" setting "Network 
  1962.       Monitors". This offers a "snapshot" view of current average per second 
  1963.       inbound activity from the network. 
  1964.  
  1965.    8. The Bps Out item identifies "Bytes Per Second" and is the average number 
  1966.       of bytes SENT via LAN over the last "n" seconds where "n" is the refresh 
  1967.       frequency as set in the "Refresh Settings" setting "Network Monitors". 
  1968.       This offers a "snapshot" view of current average per second outbound 
  1969.       activity from the network. 
  1970.  
  1971.    9. The Bss In item identifies "Bytes Since last Sample" and is the total 
  1972.       number of bytes received via LAN over the last "n" seconds where "n" is 
  1973.       the refresh frequency as set in the "Refresh Settings". 
  1974.  
  1975.   10. The Bss Out item identifies "Bytes Since last Sample" and is the average 
  1976.       number of bytes sent via LAN over the last "n" seconds where "n" is the 
  1977.       refresh frequency as set in the "Refresh Settings". 
  1978.  
  1979.  Note:  With all PM Patrol Monitor windows (ie. Process Monitor, Memory 
  1980.  Monitor, and Network Monitor) active and automatically refreshing, may be too 
  1981.  much overhead for some slower 386 class computers. Therefore, you may need to 
  1982.  use these windows selectively and not continuously. 
  1983.  
  1984.  
  1985. ΓòÉΓòÉΓòÉ 10.6. Port Monitor ΓòÉΓòÉΓòÉ
  1986.  
  1987. The Port Monitor window provides insight and advanced control over LPT parallel 
  1988. ports on your system. 
  1989.  
  1990. This window is refreshed automatically in real-time as events occur for all 
  1991. ports. Refresh occurs when the port is opened, closed, and after every 10 
  1992. packets pass through the port device driver. 
  1993.  
  1994. Using the "Reset" menu option, you can initialize the current statistics for 
  1995. each port. This option will reset all statistics for ALL ports, but will keep 
  1996. the LPT Controls (Pass-thru and Debug) in their current settings. PM Patrol 
  1997. will retain these statistics across each invocation of PM Patrol. It is up to 
  1998. you when you want these statistics initialized. 
  1999.  
  2000. Controlled from the "Spooler" priority object within the OS/2 System Setup 
  2001. folder, printing performance can be fine tuned for print jobs that are sent 
  2002. through the OS/2 spooler. 
  2003.  
  2004. Printing can be monitored via PM Patrol's Port Monitor whether the OS/2 spooler 
  2005. is active or not. 
  2006.  
  2007.    1. The Port item identifies the LPT port. 
  2008.  
  2009.    2. The Jobs item identifies the current total number of jobs having passed 
  2010.       through the LPT port. Technically speaking, "jobs" constitutes each time 
  2011.       the port was opened for I/O. 
  2012.  
  2013.    3. The Rate item identifies the total bytes per second (BPS) that have been 
  2014.       sent and received via the LPT port. This value is very accurate, but can 
  2015.       be influenced greatly if the "Debug" option is enabled. This value 
  2016.       constitutes an average over ACTUAL time (milliseconds) that the port is 
  2017.       open. 
  2018.  
  2019.    4. The Time item identifies the average time (seconds) for print jobs. 
  2020.  
  2021.    5. The Pass item identifies the current status of the Pass-thru option. When 
  2022.       enabled, all I/O is allowed to pass through the LPT device driver. 
  2023.       Otherwise, all I/O is "eaten". This is beneficial when simulation is 
  2024.       required. 
  2025.  
  2026.    6. The Debug item identifies the current state of "Debugging". 
  2027.  
  2028.    7. The Act item identifies whether an active job currently exists on the 
  2029.       port. 
  2030.  
  2031.  Turning on the "Debug" option allows you to monitor and watch each packet sent 
  2032.  to the port via the Debug viewing window. This feature is designed to allow 
  2033.  monitoring of packets via Debug. Using the new Debug facility, individual 
  2034.  packets can be monitored providing "data scope" capability. When Debug is 
  2035.  enabled for a selected LPT port, an artificial delay (1 second) is inserted 
  2036.  between each packet sent to the port. 
  2037.  
  2038.  The "Pass-thru" option allows you to enable/disable data to be passed through 
  2039.  the port. Used primarily for testing purposes, this feature enables the 
  2040.  simulation of port activity without an actual printer be attached. 
  2041.  
  2042.  Note:  With all PM Patrol Monitor windows (ie. Process Monitor, Memory 
  2043.  Monitor, and Network Monitor) active and automatically refreshing, may be too 
  2044.  much overhead for some slower 386 class computers. Therefore, you may need to 
  2045.  use these windows selectively and not continuously. 
  2046.  
  2047.  
  2048. ΓòÉΓòÉΓòÉ 10.7. Event Monitor ΓòÉΓòÉΓòÉ
  2049.  
  2050. The Event Monitor window allows you to view the current state of PM Patrol 
  2051. events from a "bird's eye view". 
  2052.  
  2053. The Event items reflect each of the events within PM Patrol. 
  2054.  
  2055. Active represents the current activity state of each event. A check mark will 
  2056. be displayed when the event is active. 
  2057.  
  2058. THold identifies the upper or lower Threshold limit for each event as defined 
  2059. in "Event Settings". This allows you to compare the event state and the 
  2060. threshold limit to exceed. 
  2061.  
  2062. Count identifies the number of times the event occured. This value is 
  2063. incremented each time the event threshold is exceeded the first time, but not 
  2064. upon renotification. 
  2065.  
  2066. Last State and Occurrance identifies the resource "state", date, and time when 
  2067. the event last occured. These values are updated the first time the event 
  2068. occurs and at renotification. 
  2069.  
  2070. Selecting "Reset" from the "Action" menu will allow you to initialize all event 
  2071. statistics. Event statistics are retained and accumulate across each invocation 
  2072. of PM Patrol. It is up to you when you want to reset the event statistics. 
  2073.  
  2074. This window is updated when an event occurs as well as every minute. 
  2075.  
  2076.  
  2077. ΓòÉΓòÉΓòÉ 10.8. Drives Monitor ΓòÉΓòÉΓòÉ
  2078.  
  2079. The Drives Monitor window allows you to view current drive attachments, current 
  2080. assignments (LAN), capacity, and used/free space. 
  2081.  
  2082. For network performance reasons, this window is refreshed automatically every 
  2083. minute on its own and can not be controlled from the "Refresh Settings" 
  2084. options. Use the drop-down menu option "Refresh" (under the "Action" menu) to 
  2085. manually refresh the window yourself. 
  2086.  
  2087. The "Utilization" graph displayed identifies USED space on the drive - not 
  2088. free. 
  2089.  
  2090.  
  2091. ΓòÉΓòÉΓòÉ 10.9. Status Line ΓòÉΓòÉΓòÉ
  2092.  
  2093. This section describes the monitor items that can be displayed on the main PM 
  2094. Patrol Status Line. 
  2095.  
  2096.  
  2097. ΓòÉΓòÉΓòÉ 10.9.1. Current Date ΓòÉΓòÉΓòÉ
  2098.  
  2099. Display of the current date. Selecting the "Show Julian Date" will add the 
  2100. current Julian date to this item. 
  2101.  
  2102.  
  2103. ΓòÉΓòÉΓòÉ 10.9.2. Current Time ΓòÉΓòÉΓòÉ
  2104.  
  2105. Display of the current time with the option of showing seconds as part of the 
  2106. time when "Show Seconds" is selected in the "Options" dialog. 
  2107.  
  2108.  
  2109. ΓòÉΓòÉΓòÉ 10.9.3. System Up-Time ΓòÉΓòÉΓòÉ
  2110.  
  2111. Display the total time that OS/2 has been up and running since last boot. 
  2112.  
  2113. The PM Patrol Status Line display for this monitor will reflect the format "dd 
  2114. hh:mm" representing "days", "hours", and "minutes". 
  2115.  
  2116.  
  2117. ΓòÉΓòÉΓòÉ 10.9.4. Internet Connect-Time ΓòÉΓòÉΓòÉ
  2118.  
  2119. Displays the total time that the workstation has been connected to the Internet 
  2120. when using a modem and the "Point-to-Point Protocol" (PPP) or the "Serial Line 
  2121. IP" (SLIP) of IBM's Internet Access Kit. 
  2122.  
  2123. The PM Patrol Status Line display for this monitor will reflect the format "dd 
  2124. hh:mm x" representing "days", "hours", and "minutes". The "x" is an indicator 
  2125. to inform you when your connected. A flashing arrow pointing up indicates 
  2126. your're connected. An arrow pointing down indicates your not. 
  2127.  
  2128. This monitor will automatically reset to zero if PM Patrol is stopped and then 
  2129. restarted. For manual reset, refer the Utility popup option for "Reset Internet 
  2130. Time". 
  2131.  
  2132. The Internet Connect feature for PM Patrol does not apply to TCP/IP connections 
  2133. via a LAN. 
  2134.  
  2135.  
  2136. ΓòÉΓòÉΓòÉ 10.9.5. Keyboard Status ΓòÉΓòÉΓòÉ
  2137.  
  2138. The Keyboard Status displays the status of CapsLock, NumLock, and ScrollLock 
  2139. keyboard settings. 
  2140.  
  2141.  
  2142. ΓòÉΓòÉΓòÉ 10.9.6. Net User ID ΓòÉΓòÉΓòÉ
  2143.  
  2144. When logged-on to a LAN Server, the current "User ID" is displayed. This 
  2145. options requires that IBM LAN Requester network software be installed on the 
  2146. local workstation. 
  2147.  
  2148.  
  2149. ΓòÉΓòÉΓòÉ 10.9.7. Spooler Monitor ΓòÉΓòÉΓòÉ
  2150.  
  2151. This item allows you to monitor print jobs that are in print queues.  This 
  2152. includes print jobs that are Held, Printing, Canceling, and other dispositions. 
  2153. There is two types of monitoring: 
  2154.  
  2155.    1. Display total print jobs across all spooler queues. 
  2156.  
  2157.    2. Display total print jobs per spooler queue. 
  2158.  
  2159.  The "Total all Queues" option in the "General Settings" switches between the 
  2160.  two modes identifies above. 
  2161.  
  2162.  When logged-on to a LAN Server you can monitor its remote print queues. Refer 
  2163.  to the "General Settings" section for more details. 
  2164.  
  2165.  
  2166. ΓòÉΓòÉΓòÉ 10.9.8. Process Summary ΓòÉΓòÉΓòÉ
  2167.  
  2168. This display item reveals the total current number of OS/2 processes and 
  2169. threads in the system. This includes PIDs and TIDs of any state; Blocked, 
  2170. Running, and Ready. 
  2171.  
  2172. The Process Summary items are displayed as follows; the numbers shown below are 
  2173. examples: 
  2174.  
  2175.    1. "12p" representing 14 active processes (p). 
  2176.  
  2177.    2. "63t" representing 63 active threads (t). 
  2178.  
  2179.  
  2180. ΓòÉΓòÉΓòÉ 10.9.9. Drives On-line ΓòÉΓòÉΓòÉ
  2181.  
  2182. This item displays the current drive letters for available drives accessible 
  2183. from this computer.  Network drives are supported. 
  2184.  
  2185.  
  2186. ΓòÉΓòÉΓòÉ 10.9.10. Drive 1-6 Monitors ΓòÉΓòÉΓòÉ
  2187.  
  2188. Displays the free space (MB) for a selected drive. To select a different drive 
  2189. to monitor you may choose you one of the following methods: 
  2190.  
  2191.    1. Single click the right mouse button on the PM Patrol Status Line and then 
  2192.       select the "Drives" menu item.  Select "Monitor" to choose a drive. 
  2193.  
  2194.    2. Double click the left mouse button on the PM Patrol Status Line to get 
  2195.       the Options dialog.  Then select the "Utility" menu bar item followed by 
  2196.       the "Drives" menu option. 
  2197.  
  2198.  Selected drives will be permanently "remembered" as defaults when changed. 
  2199.  
  2200.  Selected drives will report a "?" when the drive changes "off-line".  This can 
  2201.  occur if the drive is a network drive and the user performs a LOGOFF.  Or, 
  2202.  removing a removable media type such as a floppy diskette. 
  2203.  
  2204.  By default, PM Patrol maps drives 1 through 6 on the Status Line to drives C 
  2205.  through H. This drive mapping can be changed to any desired combination. 
  2206.  
  2207.    1. From the PM Patrol Status Line, right-click the Status Line. 
  2208.  
  2209.    2. Select the "Drives" menu option 
  2210.  
  2211.    3. Then select the "Status Line" option. 
  2212.  
  2213.    4. This will display a menu identifying the current drive mappings assigned. 
  2214.       Select the PM Patrol drive number you wish to change. 
  2215.  
  2216.    5. A mini dialog will popup displaying current drives on-line and 
  2217.       accessible. Choose which drive to map. 
  2218.  
  2219.    6. To tell PM Patrol to show the drive on the Status Line select the drive 
  2220.       number in PM Patrol's "Status Line Monitors" in the "Options" dialog. 
  2221.  
  2222.    7. This information is saved and remembered by PM Patrol. 
  2223.  
  2224.  When a drive being monitored goes off-line, PM Patrol displays a "?" in place 
  2225.  of the free space for the drive to inform you the drive is off-line. This is 
  2226.  more common when monitoring remote drives on a network. 
  2227.  
  2228.  
  2229. ΓòÉΓòÉΓòÉ 10.9.11. Battery Status ΓòÉΓòÉΓòÉ
  2230.  
  2231. This item informs the user how much battery power is remaining. 
  2232.  
  2233. The OS/2 APM facilities assume the battery to be 100% new. As the battery ages, 
  2234. the original maximum life of the battery diminishes. Especially for NICad 
  2235. batteries. PM Patrol allows you to specify a "new" maximum life. When set at 
  2236. zero, observe the PM Patrol "Bat" percentage. When your computer informs you 
  2237. the battery is dangerously low (usually several short beeps), observe the 
  2238. percentage that PM Patrol reports. This value becomes the new "zero" point. 
  2239. Select this value in the "Battery Calibration" field in the "General Settings" 
  2240. dialog. Repeat this process every 3-4 months to ensure accurate and reliable 
  2241. battery readings. 
  2242.  
  2243. Note:  This option is accessible only if APM is installed via OS/2 and the 
  2244. computer is a mobile computer capable of power management (i.e. 386sl+). 
  2245.  
  2246. When (and if) the battery status is unknown, PM Patrol displays a question mark 
  2247. in replacement of the actual percentage of power remaining. 
  2248.  
  2249.  
  2250. ΓòÉΓòÉΓòÉ 10.9.12. HPFS386 Cache Monitor ΓòÉΓòÉΓòÉ
  2251.  
  2252. PM Patrol will monitor the read/write cache hit ratio for systems running the 
  2253. 32-bit High Performance File System (HPFS386). 
  2254.  
  2255. The read/write percentages are displayed on the PM Patrol Status Line with the 
  2256. abbreviation "Crw". This abbreviation represents "Cache Read Writes", so the 
  2257. first percentage seen is Reads and the second percentage is writes. 
  2258.  
  2259. Note:  This version of PM Patrol only supports the ability to obtain Cache 
  2260. ratios from HPFS386 and not the 16-bit HPFS shipped with OS/2. PM Patrol will 
  2261. display a "?" if HPFS386 Cache Monitoring is selected but not installed/active. 
  2262.  
  2263.  
  2264. ΓòÉΓòÉΓòÉ 10.9.13. Swap Monitor ΓòÉΓòÉΓòÉ
  2265.  
  2266. This display option displays the current size of the OS/2 swapper file and what 
  2267. percent of free space remains in the swap file. 
  2268.  
  2269. Due to the nature and dynamics of OS/2's method of virtual memory swapping, PM 
  2270. Patrol's calculation of free swap space is an approximation and may not result 
  2271. in an exact calculation all the time. As compared to all PM Patrol's resource 
  2272. monitors, swap utilization is the only one that may yield approximation. For 
  2273. systems that are memory rich and therefore swap little, monitoring swap 
  2274. utilization may not be necessary. 
  2275.  
  2276.  
  2277. ΓòÉΓòÉΓòÉ 10.9.14. Virtual RAM Monitor ΓòÉΓòÉΓòÉ
  2278.  
  2279. Virtual RAM item identifies current Virtual Memory capacity available to OS/2. 
  2280. This item factors in available disk space for the drive which the OS/2 swapper 
  2281. file is located as well as swapper file size. 
  2282.  
  2283.  
  2284. ΓòÉΓòÉΓòÉ 10.9.15. Resident RAM Monitor ΓòÉΓòÉΓòÉ
  2285.  
  2286. The Resident RAM monitor allows you to see OS/2 memory which is non-swappable 
  2287. fixed memory. Typically, this will include OS/2 system memory and any memory 
  2288. allocated by processes which is marked as non-discardable memory. 
  2289.  
  2290.  
  2291. ΓòÉΓòÉΓòÉ 10.9.16. Free RAM Monitor ΓòÉΓòÉΓòÉ
  2292.  
  2293. This displays the amount of free RAM (k) and the percentage of free RAM as 
  2294. compared to total physical memory installed in the computer. 
  2295.  
  2296. Optionally, you can view free RAM in bar-graph form by enabling the "RAM Graph" 
  2297. option in the "Quick Configure" section of the "Options" dialog. 
  2298.  
  2299. OS/2 views memory as a flat linear address space and deploys a true Virtual 
  2300. Memory Model. Because of this, calculation of Free Memory is subject to the 
  2301. following constraint. 
  2302.  
  2303. Note:  If your system hardware consists of MORE than 16MB of memory and the 
  2304. hard disk controller is a 16-bit adapter, calculation of Free Memory may not be 
  2305. accurately reported. Use a 32-bit disk controller adapter with more than 16MB 
  2306. RAM. 
  2307.  
  2308.  
  2309. ΓòÉΓòÉΓòÉ 10.9.17. CPU Monitor ΓòÉΓòÉΓòÉ
  2310.  
  2311. PM Patrol monitors the CPU utilization every second. If the "CPU Graph" has 
  2312. been enabled in the Options dialog, then a bar-graph view of CPU usage is 
  2313. displayed in addition to the percentage. 
  2314.  
  2315. Along with the current CPU load, PM Patrol also maintains a rolling average of 
  2316. CPU utilization over 1 minute. This is called the "CPU Average" in PM Patrol. 
  2317.  
  2318.  
  2319. ΓòÉΓòÉΓòÉ 10.9.18. User Defined Monitor ΓòÉΓòÉΓòÉ
  2320.  
  2321. PM Patrol provides a "user defined" monitor to be displayed at the end of the 
  2322. main Status Line and can be logged in the Logging Facility. Using the PM Patrol 
  2323. "DCFUserDefined" API within a C/C++ program, you can format a monitor buffer of 
  2324. your choice. Refer to the API description for DCFUserDefined for details. 
  2325.  
  2326.  
  2327. ΓòÉΓòÉΓòÉ 11. Utility ΓòÉΓòÉΓòÉ
  2328.  
  2329. The Utility section provides a growing number of utility items. This section 
  2330. will, along with monitor items, continue to grow in functionality. 
  2331.  
  2332. The "Utility" menu can be accessed from the PM Patrol "Options" dialog or from 
  2333. the PM Patrol Status Line and clicking the right mouse button. 
  2334.  
  2335.  
  2336. ΓòÉΓòÉΓòÉ 11.1. Logger ΓòÉΓòÉΓòÉ
  2337.  
  2338. The Logger facility provides a robust mechanism for recording all PM Patrol 
  2339. monitors to a file. Once logged, the user can "view" the logged data for 
  2340. further review. 
  2341.  
  2342. Most monitor items can be selected/deselected from being logged in the "Logger 
  2343. Settings" along with several other Logger Options such as duration, frequency, 
  2344. and location of log file(s). 
  2345.  
  2346. The log file is ASCII and able to be further manipulated using tools such as 
  2347. Rexx, AWK, and GREP. A convenient "field separator" (vertical bar=0xb3) is 
  2348. included in the log file for identifying individual fields in the log file 
  2349. record. 
  2350.  
  2351. The PM Patrol Logger is designed with special consideration for performance. 
  2352. When logging, the Logger mechanism requires very little CPU. The PM Patrol 
  2353. Logger can be used in a variety of situations: 
  2354.  
  2355.    1. Real-time and time critical logging with 1 second samples. 
  2356.  
  2357.    2. Casual logging with infrequent (1 per minute) samples 
  2358.  
  2359.  
  2360. ΓòÉΓòÉΓòÉ 11.1.1. Start/Stop ΓòÉΓòÉΓòÉ
  2361.  
  2362. The Start/Stop option start or stops the logging activity. 
  2363.  
  2364.  
  2365. ΓòÉΓòÉΓòÉ 11.1.2. View Primary Log ΓòÉΓòÉΓòÉ
  2366.  
  2367. The View Primary Log option allows you to view the contents of the information 
  2368. recently logged. The Viewer program can be defined in the "General Settings" 
  2369. section. The default Viewer is the PM Patrol's View program "PMPVIEW.EXE". 
  2370.  
  2371. The name and location of the primary log file is user settable. This is 
  2372. specified in the "Logger Settings" settings. 
  2373.  
  2374.  
  2375. ΓòÉΓòÉΓòÉ 11.1.3. View Backup Log ΓòÉΓòÉΓòÉ
  2376.  
  2377. The View Backup Log option allows you to view the contents of the information 
  2378. logged previously. If the "backup log" option is not enabled, this option is 
  2379. not accessible. 
  2380.  
  2381. The location of the backup log file is the same as the location for the primary 
  2382. log file as specified in the PM Patrol "Logger Settings". 
  2383.  
  2384. The name of the backup log file name is always "PMPATROL.BAK". 
  2385.  
  2386.  
  2387. ΓòÉΓòÉΓòÉ 11.1.4. Delete All Logs ΓòÉΓòÉΓòÉ
  2388.  
  2389. The Delete All Logs option allows you to delete all PM Patrol log files from 
  2390. disk (if present). This includes the primary and backup log files. 
  2391.  
  2392.  
  2393. ΓòÉΓòÉΓòÉ 11.2. Debug ΓòÉΓòÉΓòÉ
  2394.  
  2395. The Debug facility is a flexible and easy to use real-time Debugger for the 
  2396. software developer that provides debugging capabilities that are impossible for 
  2397. the source-level debugger, easier to use, and often more convenient. 
  2398.  
  2399. Debug is used by the PM Patrol Port Monitor to provide a "data scope" for 
  2400. information being passed through the printer port for LPT1-LPT3. 
  2401.  
  2402. Once logged, the user can "view" the logged data for further review. The log 
  2403. file is ASCII and able to be further manipulated using tools such as Rexx, AWK, 
  2404. and GREP. 
  2405.  
  2406.  
  2407. ΓòÉΓòÉΓòÉ 11.2.1. Start/Stop Debug ΓòÉΓòÉΓòÉ
  2408.  
  2409. The Start/Stop Debug option starts or stops the Debug Facility. 
  2410.  
  2411.  
  2412. ΓòÉΓòÉΓòÉ 11.2.2. Start/Stop Debug Log ΓòÉΓòÉΓòÉ
  2413.  
  2414. Output from the Debug facility is sent to the Debug viewing window. When 
  2415. logging is started, the output also goes to the "DBUG.LOG" file and is 
  2416. immediately viewable. 
  2417.  
  2418. When logging is stopped, the "DBUG.LOG" is closed. The next time logging is 
  2419. started, the "DBUG.LOG" file is backed-up to "DBUG.BAK" and a new "DBUG.LOG" is 
  2420. created. 
  2421.  
  2422.  
  2423. ΓòÉΓòÉΓòÉ 11.2.3. View Primary Log ΓòÉΓòÉΓòÉ
  2424.  
  2425. The View Primary Log option allows you to view the contents of the information 
  2426. recently logged. The Viewer program can be defined in the "General Settings" 
  2427. section. The default Viewer is the PM Patrol's View program "PMPVIEW.EXE". 
  2428.  
  2429. The name and location of the Debug log files are constant. Located in the PM 
  2430. Patrol installation directory, log files are named "DBUG.LOG" for the primary 
  2431. and "DBUG.BAK" for the backup log file. 
  2432.  
  2433.  
  2434. ΓòÉΓòÉΓòÉ 11.2.4. View Backup Log ΓòÉΓòÉΓòÉ
  2435.  
  2436. The View Backup Log option allows you to view the contents of the information 
  2437. logged previously. 
  2438.  
  2439.  
  2440. ΓòÉΓòÉΓòÉ 11.2.5. Delete Debug Logs ΓòÉΓòÉΓòÉ
  2441.  
  2442. The Delete Debug Logs option allows you to delete all Debug log files from disk 
  2443. (if present). This includes the primary and backup log files. 
  2444.  
  2445.  
  2446. ΓòÉΓòÉΓòÉ 11.3. Drives ΓòÉΓòÉΓòÉ
  2447.  
  2448. The Drives options provides the ability to switch drives that are on-line and 
  2449. you wish to monitor, format(full and fast), check and view summary information 
  2450. for a particular drive. 
  2451.  
  2452. This is accessed from the PM Patrol "Utility" menu. 
  2453.  
  2454.  
  2455. ΓòÉΓòÉΓòÉ 11.3.1. Status Line ΓòÉΓòÉΓòÉ
  2456.  
  2457. The Status Line option provides the ability to switch drives that are on-line 
  2458. that you may want to monitor on the PM Patrol Status Line. After selecting the 
  2459. drive (1 through 6) to change, the "Drives List" popup allows you to select a 
  2460. drive. 
  2461.  
  2462. After selecting a drive from the "Drive List", the drive appears on the PM 
  2463. Patrol Status Line and is remembered when PM Patrol is ended. 
  2464.  
  2465.  
  2466. ΓòÉΓòÉΓòÉ 11.3.2. Drive Map and Summary ΓòÉΓòÉΓòÉ
  2467.  
  2468. The Drive Map and Summary option provides the ability to view summary, detail, 
  2469. and directory map information for a selected drive. 
  2470.  
  2471. The Drive Summary options displays volume specifics as well as media format and 
  2472. device type. Summary level data displays a wealth of information. 
  2473.  
  2474. The Drive Map option displays a graphical view of directories, size of 
  2475. directories, and distribution of directory sizes relative to total USED space 
  2476. on the file system. 
  2477.  
  2478. The bar-graph is calculated in comparison to the LARGEST size directory found 
  2479. on the drive, while the percentage is calculated in comparison to the total 
  2480. USED space on the drive. 
  2481.  
  2482. Note:  The Drive Map "Bytes" reflects total space USED per directory and 
  2483. includes both Slack bytes and EA bytes of files in the subdirectory - not just 
  2484. the bytes comprising each file. 
  2485.  
  2486.  
  2487. ΓòÉΓòÉΓòÉ 11.4. Spooler ΓòÉΓòÉΓòÉ
  2488.  
  2489. The Spooler options support a variety of Print Spooler utilities such as: 
  2490.  
  2491.    1. Purge all print jobs in a Print Queue (Local or Remote) 
  2492.  
  2493.    2. Release all print jobs in a Print Queue (Local or Remote) 
  2494.  
  2495.    3. Hold all print jobs in a Print Queue (Local or Remote) 
  2496.  
  2497.  If logged on to a LAN Server and signed-on under the LAN Administrator ID, ALL 
  2498.  functions can be performed remotely for any LAN Server and these functions 
  2499.  will affect ALL print jobs for the specified Print Queue. Otherwise, these 
  2500.  functions will be performed for any print jobs OWNED by the current user of 
  2501.  the workstation for the specified Print Queue. 
  2502.  
  2503.  Note:  The "Purge Queue" function deletes ALL print jobs of any state (held, 
  2504.  printing, spooling, or released). 
  2505.  
  2506.  
  2507. ΓòÉΓòÉΓòÉ 11.5. Programs ΓòÉΓòÉΓòÉ
  2508.  
  2509. The Programs option provides quick access to user definable programs. Using the 
  2510. "Program Settings" dialog, you can add up to 45 of your favorite programs. 
  2511.  
  2512.  
  2513. ΓòÉΓòÉΓòÉ 11.5.1. Program Settings ΓòÉΓòÉΓòÉ
  2514.  
  2515. The "Program Settings" dialog allows you to specify: 
  2516.  
  2517.    1. The "Program Name". Duplicate names are allowed. This field is a required 
  2518.       field in order for the entry to appear on the program popup menu. 
  2519.  
  2520.    2. The "Path and File Name" for the executable (.EXE or .COM).  To invoke 
  2521.       the OS/2 command prompt enter "CMD.EXE". This field is a required field 
  2522.       in order for the entry to appear on the program popup menu. 
  2523.  
  2524.    3. The "Parameters" field allows you to enter any program parameters that 
  2525.       may be required by the program you want to run. You can have PM Patrol 
  2526.       prompt you for parameters when you launch the program by entering a '?' 
  2527.       as the first character in the "Parameters" field. Place default 
  2528.       parameters after the '?' if desired. This will invoke a dialog box when 
  2529.       you run the program and allow you to enter new parameters. 
  2530.  
  2531.    4. The "Working Directory" informs the program launcher what the default 
  2532.       drive and directory are to be when the program is launched. 
  2533.  
  2534.  The "Session" group allows you to further control HOW you wish to run the 
  2535.  program: as native OS/2 PM, Windows session, full screen, DOS, and more. 
  2536.  Except for DOS/Windows programs, use "Default" when your're unsure. 
  2537.  
  2538.    1. The "Win Enh" item identifies a Windows 3.1 Enhanced program and will be 
  2539.       run as a "seamless" Windows session in "unprotected mode" (same session). 
  2540.  
  2541.    2. The "Win Std" item identifies a Windows 3.1 Standard program and will be 
  2542.       run as a "seamless" Windows session in "unprotected mode" (same session). 
  2543.  
  2544.  The "Window" group allows you to start the program in a minimized state. 
  2545.  Additionally, you can select "Display existing window" to control the behavior 
  2546.  when you run the program again.  All programs are run in the "Foreground". 
  2547.  With this enabled, PM Patrol will only allow 1 instance of the program to run 
  2548.  and make the active instance of the program the foreground session. Otherwise, 
  2549.  a new and separate session is started. 
  2550.  
  2551.  The "Priority" group allows you advanced process control over a program's OS/2 
  2552.  priority. This includes both priority "Class" as well as the priority "Range" 
  2553.  within the Class. 
  2554.  
  2555.  Within the "Class" control, you can select 1 of 4 different classes: 
  2556.  
  2557.    1. "Regular" Class identifies a "normal" setting and is the default. This 
  2558.       should typically be used for most programs. If your're unsure of the 
  2559.       Class setting, use "Regular". 
  2560.  
  2561.    2. "Idle" class indicates that a program should only execute when nothing 
  2562.       else is running. Typically used for carefree background processes. 
  2563.  
  2564.    3. "Foreground" class indicates that a program should execute at a 
  2565.       fixed-high priority, but below time critical as if it were the "active" 
  2566.       window. Net effect of this class makes the process operate at near 
  2567.       time-critical performance. 
  2568.  
  2569.    4. "Critical" Class identifies a program as a "Time Critical" process. 
  2570.       Understand that selecting this may cause other programs running to 
  2571.       execute slower. 
  2572.  
  2573.  The "Range" operates within the selected "Class" and you can select 1 of 4 
  2574.  different Range priority levels within each Class. 
  2575.  
  2576.    1. "Regular" Range identifies the "normal" and default priority setting 
  2577.       within the Class selected. This should typically be used for most 
  2578.       programs and is the default. If you are unsure of the Range setting, use 
  2579.       "Regular". 
  2580.  
  2581.    2. "Low" Range identifies the lowest possible priority setting within the 
  2582.       Class selected. Low and Regular have identical effects. This was chosen 
  2583.       by design to avoid confusion as to what was a "normal" Range setting. 
  2584.  
  2585.    3. "Medium" Range indicates a midpoint priority level between the Low and 
  2586.       High Ranges. 
  2587.  
  2588.    4. "High" Range indicates the highest possible priority within the class 
  2589.       selected. 
  2590.  
  2591.  Note:  Use "Regular" for both Class and Range settings when the priority 
  2592.  requirement of the process is unknown; this should be used as the default in 
  2593.  all situations. You should rarely (if ever) set the priority combination to 
  2594.  "Critical" Class and "High" Range settings. Doing so could likely bring OS/2 
  2595.  to its knees for a very CPU bound program. 
  2596.  
  2597.  Note:  Once launched, a program can change its own priority Class and Range 
  2598.  settings. This means that PM Patrol sets the program's "default" priorities 
  2599.  with those that you select, but does not control it after the program has been 
  2600.  launched. A good example of this is running Windows programs. The Win-OS/2 
  2601.  environment will typically change the priority to "Regular" for both Class and 
  2602.  Range. 
  2603.  
  2604.  The "Action" item in the menu allows you to Add, Delete, or Run the 
  2605.  highlighted program in the "Program List". To change an existing program's 
  2606.  properties, simply select the program in the list, then change the desired 
  2607.  fields for the program. Changes are immediate. 
  2608.  
  2609.  Alternately, you can click the right mouse button while the mouse pointer is 
  2610.  positioned over the "Program List" to get a quick access popup menu to the 
  2611.  actions. 
  2612.  
  2613.  
  2614. ΓòÉΓòÉΓòÉ 11.6. Desktop ΓòÉΓòÉΓòÉ
  2615.  
  2616. The System Setup option opens the OS/2 WorkPlace Shell "System Setup" folder 
  2617. object. 
  2618.  
  2619. The System Startup option opens the OS/2 WorkPlace Shell "Startup" folder 
  2620. object. 
  2621.  
  2622. The Tools option opens the OS/2 WorkPlace Shell "Main" folder for an assortment 
  2623. of OS/2 tools. 
  2624.  
  2625. The Games option opens the OS/2 WorkPlace Shell "Games" folder for an 
  2626. assortment of OS/2 games. 
  2627.  
  2628. The Drives option opens the OS/2 WorkPlace Shell "Drives" folder for disk 
  2629. utilities. 
  2630.  
  2631. The LaunchPad option opens the OS/2 WorkPlace Shell LaunchPad object. 
  2632.  
  2633. The Minimized option opens the OS/2 WorkPlace Shell "Minimized" folder object. 
  2634.  
  2635. The Templates option opens the OS/2 WorkPlace Shell "Templates" folder object. 
  2636.  
  2637. The Information option opens the OS/2 WorkPlace Shell "Information" folder for 
  2638. an assortment of books. 
  2639.  
  2640. The Command Prompts option opens the OS/2 WorkPlace Shell "Command Prompts" 
  2641. folder for an assortment of OS/2 command windows. 
  2642.  
  2643. The Font Palette option opens this OS/2 WorkPlace Shell palette 
  2644.  
  2645. The Scheme Palette option opens this OS/2 WorkPlace Shell palette 
  2646.  
  2647. The Color Palette option opens this OS/2 WorkPlace Shell palette 
  2648.  
  2649. The Minimize Windows option minimizes all visible windows on the OS/2 desktop. 
  2650. Convenient for periodically "clearing" the desktop when too many windows are 
  2651. active. 
  2652.  
  2653. The Restart Desktop option allows you to restart your OS/2 desktop and 
  2654. optionally specify a different set of OS/2 INI files to use. This option is 
  2655. particularly useful in network environments where individuals move from 
  2656. workstation to workstation and wish to inherit their "desktop personality" on a 
  2657. different PC. The "Defaults" option is designed to facilitate the the process 
  2658. of quickly switching back to the local workstation's default INI files. The 
  2659. "Restart Desktop" is unavailable when PM Patrol is started in "Secured" mode. 
  2660.  
  2661. Note:  Be aware that on some multimedia enabled systems, restarting the OS/2 
  2662. desktop may temporarily disable multimedia (MMPM/2). 
  2663.  
  2664. The Restore Windows option restores all minimized windows in the OS/2 Task 
  2665. Window or Minimized Folder to the OS/2 desktop. 
  2666.  
  2667. The Close All Folders option quickly closes all open OS/2 desktop folders. 
  2668. Convenient for periodically "clearing" the desktop when too many windows are 
  2669. active. 
  2670.  
  2671. The PM Patrol Shutdown option is an alternate way to shutdown PM Patrol 
  2672. quickly. This option will only appear in the Utility Popup menu when invoked 
  2673. from the PM Patrol Status Line. When selected, this will shutdown PM Patrol 
  2674. quickly and without confirmation. If PM Patrol is started in "Secured Mode 
  2675. (-S)", this option is not available and will not appear in the menu. If the PM 
  2676. Patrol Password is set, then you will be prompted to enter the correct password 
  2677. before PM Patrol is shutdown. 
  2678.  
  2679. The Normal OS/2 Shutdown option is an alternate way to perform a normal OS/2 
  2680. shutdown. If the PM Patrol Password is set, then you will be prompted to enter 
  2681. the correct password before a shutdown is granted. 
  2682.  
  2683. The Forced OS/2 Shutdown option is used when the normal OS/2 shutdown procedure 
  2684. is unresponsive and will shutdown OS/2 active file systems. This should be used 
  2685. as a last resort. If the PM Patrol Password is set, then you will be prompted 
  2686. to enter the correct password before a forced shutdown is granted. 
  2687.  
  2688. Note:  This forces a proper OS/2 shutdown for all active file systems and open 
  2689. files, but does not perform a WorkPlace Shell shutdown. Any recent changes to 
  2690. the OS/2 desktop since the last normal OS/2 shutdown may not be saved. 
  2691.  
  2692.  
  2693. ΓòÉΓòÉΓòÉ 11.7. Display ΓòÉΓòÉΓòÉ
  2694.  
  2695. The Open Monitor Windows option opens and activates all PM Patrol Monitor 
  2696. windows including Process Monitor, Memory Monitor, and Network Monitor. This 
  2697. provides quick access to these popular monitor windows of PM Patrol. 
  2698.  
  2699. The Close Monitor Windows option closes all PM Patrol Monitor windows including 
  2700. Process Monitor, Memory Monitor, and Network Monitor. 
  2701.  
  2702. The Suspend Status Line option freezes the Status Line display until you Resume 
  2703. the display. 
  2704.  
  2705. The Hide Status Line option hides the Status Line display until you re-select 
  2706. it from the OS/2 Window List. While hidden, all active PM Patrol operations 
  2707. continue unless the display has been "suspended". This option is convenient for 
  2708. those who wish to temporarily view the desktop window below PM Patrol or for 
  2709. security purposes. 
  2710.  
  2711. The Refresh Status Line option immediately forces PM Patrol to re-sample and 
  2712. refresh all items being monitored on the PM Patrol main Status Line. 
  2713.  
  2714. The Reset Internet Time option allows you to reset the Internet Connect-Time to 
  2715. zero. This can be useful for tracking and costing Internet access. 
  2716.  
  2717.  
  2718. ΓòÉΓòÉΓòÉ 11.8. Utilities ΓòÉΓòÉΓòÉ
  2719.  
  2720. This menu contains several additional utilities that are always 1 click away 
  2721.  
  2722.  
  2723. ΓòÉΓòÉΓòÉ 11.8.1. Sleep Now ΓòÉΓòÉΓòÉ
  2724.  
  2725. The Sleep Now option places the mobile computer (SL chips) into suspend mode. 
  2726. This option is accessible only when APM (Advanced Power Management) is 
  2727. installed and the user is not logged-on to the LAN Server for workstations 
  2728. connected to a LAN Server network. Refer to the OS/2 Installation Guide for APM 
  2729. details. 
  2730.  
  2731.  
  2732. ΓòÉΓòÉΓòÉ 11.8.2. Fast Find ΓòÉΓòÉΓòÉ
  2733.  
  2734. The Fast Find option provides a way to find files on a particular disk drive. A 
  2735. number of search constraints are available such as finding 32-bit, open files, 
  2736. and files with a combination of attributes set (Read Only, Hidden, etc.). 
  2737.  
  2738. Enter the desired drive and file/pattern to search for. Click "Find" (or Enter] 
  2739. to begin the search. Click "Stop" to cancel the search. Select "All Drives" to 
  2740. search for files across all drives currently on-line. 
  2741.  
  2742. Note:  Refer to the "FF" command line utility also shipped with PM Patrol for 
  2743. searching and collecting files from the command line. 
  2744.  
  2745. Note:  Refer to the "FDUPS" command line utility also shipped with PM Patrol 
  2746. for searching and collecting files that are duplicate from the command line. 
  2747.  
  2748. The container control in the Fast Find window supports right-click popups for 
  2749. quick access to "Action" items and double-click selections. 
  2750.  
  2751. Double-clicking in the Fast Find window invokes "Edit", "View", or "Execute" 
  2752. options for the item selected. If the item is a multimedia WAV file, the WAV 
  2753. file is played. 
  2754.  
  2755. The "Last Write" and "Last Access" days allow you to specify a number of days 
  2756. that the file must meet or exceed (>=) for the Fast Find facility to collect. 
  2757. This is advantageous when searching for inactive files for LAN administration. 
  2758.  
  2759. Note:  The "Last Access" date is only applicable to file systems that support 
  2760. this attribute, such as HPFS. FAT does NOT support this file system attribute 
  2761. and therefore use of "Last Access" days should be avoided. 
  2762.  
  2763. The "File Size" field provides that ability to narrow the search and look for 
  2764. files where the file size meets or exceeds a given size. This size is specified 
  2765. in terms of Kilobytes (KB). For example, If your're searching for files greater 
  2766. than or equal to 512K, then enter 512. 
  2767.  
  2768. Additional search criteria allows you to narrow the search for: 
  2769.  
  2770.    1. "OS2/Win" files. These are files that are OS/2 PM and Windows files using 
  2771.       Win API calls. Files include *.DLL, *.EXE, *.SYS and more. 
  2772.  
  2773.    2. "32-Bit" files.  These are files that are 32-bit OS/2 files. Files 
  2774.       include *.EXE, *.DLL, *.SYS, and more. 
  2775.  
  2776.    3. "Opened" files.  These are files that are currently open and in use by 
  2777.       other OS/2, DOS, or Windows programs. 
  2778.  
  2779.    4. "DOS" files.  These are files that DOS only files and include *.EXE, 
  2780.       *.COM, and more. 
  2781.  
  2782.       Note:  Searching for files with the above specified attributes causes 
  2783.       overhead and should be used selectively. Searching for "Opened" files 
  2784.       causes considerable overhead and could take several minutes to complete 
  2785.       the search. 
  2786.  
  2787.  Also provided is the ability to restrict the search to finding only files with 
  2788.  particular file attributes. Such as Hidden, Read-Only, and more.  Selecting 
  2789.  these items causes a "RESTRICTIVE" search - not "INCLUSIVE". 
  2790.  
  2791.  You can customize the display items (file slack size, file EA size, last write 
  2792.  and access dates) in the "View" menu option. These settings will be saved 
  2793.  automatically when PM Patrol is shutdown. 
  2794.  
  2795.  There are several "Action" items that are provided. These include the ability 
  2796.  to "Edit", "View", and "Delete" files that are selected. To select items, 
  2797.  simply single click the item or "Select All" items in the list. Be careful of 
  2798.  the "Delete" option. It works well - even if the file is marked as read-only, 
  2799.  the files will be deleted. A popup message box is displayed to confirm your 
  2800.  "Delete" request. 
  2801.  
  2802.  The "File" and "Edit" options operate the same way as in the "Process 
  2803.  Monitor","Drives Monitor", System Info" windows, and all others. These options 
  2804.  allow you to copy/append to the clipboard, save list to a file, or print list 
  2805.  to a printer. 
  2806.  
  2807.  The Fast Find facility allows you to specify that search operations should 
  2808.  always run at a low priority - only when there is little OS/2 activity. This 
  2809.  can be specified in the "General Settings" setup and may be desirable for LAN 
  2810.  administration functions. This is identified by "Idle Time Searches". 
  2811.  
  2812.  
  2813. ΓòÉΓòÉΓòÉ 11.8.3. Fast Help ΓòÉΓòÉΓòÉ
  2814.  
  2815. The Fast Help option provides very fast access to a complete list of OS/2 
  2816. Information (.INF) and Help (.HLP), and DOS+Windows (.HLP) files that are 
  2817. on-line and available for viewing. 
  2818.  
  2819. Accessed from the PM Patrol Utility menu, the Fast Help feature creates a "Help 
  2820. Data Base" the first time it's accessed. Stored where PM Patrol is installed, 
  2821. the help data base refresh can take a minute to build. 
  2822.  
  2823. Subsequent invocations of the Fast Help window do not auto-refresh the help 
  2824. data base. It is up to you when you wish to refresh the data base. PM Patrol 
  2825. searches ALL drives on-line when refreshing the help data base. 
  2826.  
  2827. Via the "View" menu item, you can filter-out duplicate help files to make 
  2828. navigating the list a bit easier. 
  2829.  
  2830. To view a on-line help file, simply double click on the file in the list. 
  2831. DOS+Windows help files are always viewed seamlessly on the OS/2 desktop. 
  2832.  
  2833. The "Filter" options operate in the following manners: 
  2834.  
  2835.    1. The "Filter Duplicates" removes duplicate help files from the window 
  2836.       list. As a result, only unique help files are displayed. 
  2837.  
  2838.    2. The "Filter OS/2 Files" removes OS/2 specific help files (both .INF and 
  2839.       .HLP) from the window list. As a result, only DOS+Windows help files are 
  2840.       displayed. 
  2841.  
  2842.    3. The "Filter Win Files" removes DOS+Windows specific help files (.HLP) 
  2843.       from the window list. As a result, only OS/2 help files are displayed. 
  2844.  
  2845.  Note:  Limitation with OS/2 .HLP help files. Due to the nature of OS/2 .HLP 
  2846.  help files, only one of these help files can be viewed at a time through PM 
  2847.  Patrol's Fast Help facility. If another .HLP help file is selected, the 
  2848.  previous .HLP help file will be closed down. There are no limitations with 
  2849.  OS/2 .INF or DOS+Windows .HLP help files. 
  2850.  
  2851.  
  2852. ΓòÉΓòÉΓòÉ 11.8.4. System Info ΓòÉΓòÉΓòÉ
  2853.  
  2854. The System Info displays 3 basic types of information: 
  2855.  
  2856.    1. OS/2 System information displays the basic configuration of OS/2 and the 
  2857.       hardware present on your system. Many of the items are static and don't 
  2858.       change while OS/2 is operating. Many of these items are modifiable in the 
  2859.       CONFIG.SYS. Refer to OS/2 help for more detail. 
  2860.  
  2861.    2. Presentation Manager colors. These can be modified via the "Color 
  2862.       Palette" in the OS/2 "System" folder. 
  2863.  
  2864.    3. Presentation Manager information displays items specific to PM. Many of 
  2865.       these can be modified in the "Setup" folder of the WorkPlace Shell. 
  2866.  
  2867.  
  2868. ΓòÉΓòÉΓòÉ 11.8.5. Scheduler ΓòÉΓòÉΓòÉ
  2869.  
  2870. The Scheduler option provides quick access to user definable programs that are 
  2871. to be run at specified times. Using the "Scheduler Settings" dialog, you can 
  2872. add up to 128 of programs to run at specified times. 
  2873.  
  2874. Similar in function to the UNIX CRON utility, the "Scheduler" provides the 
  2875. ability to run any program at user specified days and times. 
  2876.  
  2877. The "Scheduler Settings" dialog allows you to specify: 
  2878.  
  2879.    1. The "Program Name". Duplicate names are allowed. This field is a required 
  2880.       field in order for the entry to appear on the program popup menu. 
  2881.  
  2882.    2. The "Path and File Name" for the executable (.EXE or .COM).  To invoke 
  2883.       the OS/2 command prompt enter "CMD.EXE". This field is a required field 
  2884.       in order for the entry to appear on the program popup menu. 
  2885.  
  2886.    3. The "Parameters" field allows you to enter any program parameters that 
  2887.       may be required by the program you want to run. You can have PM Patrol 
  2888.       prompt you for parameters when the scheduler launches the program by 
  2889.       entering a '?' as the first character in the "Parameters" field. Place 
  2890.       default parameters after the '?' if desired. This will invoke a dialog 
  2891.       box when the program is scheduled to run and allow you to enter new 
  2892.       parameters. 
  2893.  
  2894.    4. The "Working Directory" informs the scheduler what the default drive and 
  2895.       directory are to be when the program gets launched. 
  2896.  
  2897.  The "Session" group allows you to further control HOW you wish to run the 
  2898.  program: as native OS/2 PM, Windows session, full screen, DOS, and more. 
  2899.  Except for DOS/Windows programs, use "Default" when your're unsure. 
  2900.  
  2901.    1. The "Win Enh" item identifies a Windows 3.1 Enhanced program and will be 
  2902.       run as a "seamless" Windows session in "unprotected mode" (same session). 
  2903.  
  2904.    2. The "Win Std" item identifies a Windows 3.1 Standard program and will be 
  2905.       run as a "seamless" Windows session in "unprotected mode" (same session). 
  2906.  
  2907.  The "Window" group allows you to start the program in a minimized state. Some 
  2908.  programs may resist the minimized state when their invoked. 
  2909.  
  2910.  The "Activation" group allows you to indicate that the Scheduled Entry is 
  2911.  "active" or "inactive". The program will only get launched when this is 
  2912.  selected. 
  2913.  
  2914.  The "Priority" group allows you advanced process control over a program's OS/2 
  2915.  priority. This includes both priority "Class" as well as the priority "Range" 
  2916.  within the Class. 
  2917.  
  2918.  Within the "Class" control, you can select 1 of 4 different classes: 
  2919.  
  2920.    1. "Regular" Class identifies a "normal" setting and is the default. This 
  2921.       should typically be used for most programs. If your're unsure of the 
  2922.       Class setting, use "Regular". 
  2923.  
  2924.    2. "Idle" class indicates that a program should only execute when nothing 
  2925.       else is running. Typically used for carefree background processes. 
  2926.  
  2927.    3. "Foreground" class indicates that a program should execute at a 
  2928.       fixed-high priority, but below time critical as if it were the "active" 
  2929.       window. Net effect of this class makes the process operate at near 
  2930.       time-critical performance. 
  2931.  
  2932.    4. "Critical" Class identifies a program as a "Time Critical" process. 
  2933.       Understand that selecting this may cause other programs running to 
  2934.       execute slower. 
  2935.  
  2936.  The "Range" operates within the selected "Class" and you can select 1 of 4 
  2937.  different Range priority levels within each Class. 
  2938.  
  2939.    1. "Regular" Range identifies the "normal" and default priority setting 
  2940.       within the Class selected. This should typically be used for most 
  2941.       programs and is the default. If you are unsure of the Range setting, use 
  2942.       "Regular". 
  2943.  
  2944.    2. "Low" Range identifies the lowest possible priority setting within the 
  2945.       Class selected. Low and Regular have identical effects. This was chosen 
  2946.       by design to avoid confusion as to what was a "normal" Range setting. 
  2947.  
  2948.    3. "Medium" Range indicates a midpoint priority level between the Low and 
  2949.       High Ranges. 
  2950.  
  2951.    4. "High" Range indicates the highest possible priority within the class 
  2952.       selected. 
  2953.  
  2954.  Note:  Use "Regular" for both Class and Range settings when the priority 
  2955.  requirement of the process is unknown; this should be used as the default in 
  2956.  all situations. You should rarely (if ever) set the priority combination to 
  2957.  "Critical" Class and "High" Range settings. Doing so could likely bring OS/2 
  2958.  to its knees for a very CPU bound program. 
  2959.  
  2960.  Note:  Once launched, a program can change its own priority Class and Range 
  2961.  settings. This means that PM Patrol sets the program's "default" priorities 
  2962.  with those that you select, but does not control it after the program has been 
  2963.  launched. A good example of this is running Windows programs. The Win-OS/2 
  2964.  environment will typically change the priority to "Regular" for both Class and 
  2965.  Range. 
  2966.  
  2967.  The "Schedule" group provides you the ability to specify the time the program 
  2968.  is to be launched. All programs are launched in the "background" and NOT the 
  2969.  foreground session. 
  2970.  
  2971.  The time to launch can be specified by selecting the desired Month, Week Day, 
  2972.  Hour, and Minute.  Event time permutations are as follows: 
  2973.  
  2974.    1. Month: provides "Every" month or a specified month (January through 
  2975.       December). 
  2976.  
  2977.    2. Week Day: provides "Every" day, specified day (Sunday through Saturday), 
  2978.       weekdays (Monday through Friday), or weekends (Saturday and Sunday). 
  2979.  
  2980.    3. Hour: provides "Every" hour or a specified hour (12:00 AM through 11:00 
  2981.       PM). 
  2982.  
  2983.    4. Minute: provides "Every" minute or a specified minute (0 through 59). 
  2984.  
  2985.  The "Action" item in the menu allows you to Add, Delete, or Run the 
  2986.  highlighted program in the "Program List". To change an existing program's 
  2987.  properties, simply select the program in the list, then change the desired 
  2988.  fields for the program. Changes are immediate. 
  2989.  
  2990.  Alternately, you can click the right mouse button while the mouse pointer is 
  2991.  positioned over the "Program List" to get a quick access popup menu to the 
  2992.  actions. 
  2993.  
  2994.  
  2995. ΓòÉΓòÉΓòÉ 11.8.6. WorkPlace Classes ΓòÉΓòÉΓòÉ
  2996.  
  2997. The WorkPlace Classes option provides quick access to all registered WorkPlace 
  2998. Shell class objects and provides the ability to register new classes or 
  2999. deregister classes no longer needed. 
  3000.  
  3001. Note:  Typically used by developers, this facility should be used with caution. 
  3002. DO NOT deregister classes without careful consideration. Deleting some classes 
  3003. may render your OS/2 WorkPlace shell inoperable. 
  3004.  
  3005. The "Class Name" represents the object class name as registered and known by 
  3006. the OS/2 WorkPlace Shell. 
  3007.  
  3008. The "Module Name" represents the DLL or SOM library which contains the object 
  3009. methods associated with the class. 
  3010.  
  3011. To deregister a class, simply highlight the class name from the list and select 
  3012. the "Deregister Class" option in the "Action" menu. 
  3013.  
  3014. Likewise, to register a new class to the WorkPlace shell, select "Register 
  3015. Class" from this same menu. Enter the new class name and library module. The 
  3016. Library module must be a fully qualified drive, path, and file name of the DLL. 
  3017.  
  3018.  
  3019. ΓòÉΓòÉΓòÉ 11.8.7. Fast Format ΓòÉΓòÉΓòÉ
  3020.  
  3021. Fast Format performs a very fast format for diskettes (drives A or B) that are 
  3022. ALREADY formatted. This is much faster, and easier, than manually deleting 
  3023. files off a diskette or reformatting. You'll be surprised how often this proves 
  3024. useful.  This option will work on all diskette types (720KB, 1.44MB, and 
  3025. 2.88MB). 
  3026.  
  3027. In order to support all current and future read/writable media types (and 
  3028. extended attributes), PM Patrol employs a Fast Format method that is affected 
  3029. by the number of preexisting files on the disk media. The more files on the 
  3030. disk, the longer it may take to complete the Fast format. The Fast Format 
  3031. operation usually takes several seconds. Since the Fast Format allows 
  3032. concurrent access to the disk while formatting, files or directories that are 
  3033. open will not be removed. 
  3034.  
  3035. Only logical drives A and B are currently supported. 
  3036.  
  3037. Fast Format also allows you to specify a new volume label name. 
  3038.  
  3039.  
  3040. ΓòÉΓòÉΓòÉ 11.9. Command Line Utilities ΓòÉΓòÉΓòÉ
  3041.  
  3042. Packaged with PM Patrol are several OS/2 32-bit Command Line utilities. These 
  3043. utilities complement the PM Patrol personality. 
  3044.  
  3045.  
  3046. ΓòÉΓòÉΓòÉ 11.9.1. FF (Find Files) ΓòÉΓòÉΓòÉ
  3047.  
  3048. This utility is accessed from the OS/2 command prompt window. If the "Bonus" 
  3049. option was selected at PM Patrol installation, then this utility is installed 
  3050. into the PMP subdirectory. To allow this utility to be invoked regardless of 
  3051. the current working directory, alter the CONFIG.SYS file and add PMP to the end 
  3052. of the PATH statement. 
  3053.  
  3054. It provides the same functionality and features as the "Fast Find" facility of 
  3055. PM Patrol. FF enables you to search for files across multiple drives regardless 
  3056. of the number of files. Like the "Fast Find", FF is a turbo charged "find 
  3057. files" utility. 
  3058.  
  3059. The syntax for "FF" is: 
  3060.  
  3061. FF filespec [/R /H /S /A /D /O /E /LN /SN /AD /LA /LW /SK]
  3062.     /R   read only attr
  3063.     /H   hidden attr
  3064.     /S   system attr
  3065.     /A   archive attr
  3066.     /D   directory attr
  3067.     /O   open files
  3068.     /E   erase files
  3069.     /LN  long file names
  3070.     /SN  short file names
  3071.     /AD  all drives
  3072.     /LAn  n days since access
  3073.     /LWn  n days since write
  3074.     /SKn  >= n Kbytes in size
  3075.     ?   help
  3076.  
  3077. "filespec" represents a File Pattern where wild cards are allowed. The default 
  3078. File Pattern is "*" for all files. 
  3079.  
  3080.  
  3081. ΓòÉΓòÉΓòÉ 11.9.2. FDUPS (Find Duplicates) ΓòÉΓòÉΓòÉ
  3082.  
  3083. This utility is accessed from the OS/2 command prompt window. If the "Bonus" 
  3084. option was selected at PM Patrol installation, then this utility is installed 
  3085. into the PMP subdirectory. To allow this utility to be invoked regardless of 
  3086. the current working directory, alter the CONFIG.SYS file and add PMP to the end 
  3087. of the PATH statement. 
  3088.  
  3089. The "FDUPS" utility finds duplicate files by comparing the file name, size 
  3090. and/or last write date.  Between these options, you expect a very high 
  3091. confidence level that 1 or more files are duplicates. 
  3092.  
  3093. The "FDUPS" utility takes several minutes to run depending on the number of 
  3094. files on the disk drive being searched. Select the /i option to make FDUPS run 
  3095. at idle time - when there is little OS/2 activity. 
  3096.  
  3097. The syntax for "FDUPS" is: 
  3098.  
  3099. FDUPS filespec [/S, /D, /A, /I]
  3100.     /S   include size comparison
  3101.     /D   include date comparison
  3102.     /A   search all drives
  3103.     /I   run at idle time
  3104.     ?   help
  3105.  
  3106. "filespec" represents a File Pattern where wild cards are allowed. The default 
  3107. File Pattern is "*" for all files. 
  3108.  
  3109.  
  3110. ΓòÉΓòÉΓòÉ 11.9.3. FDUMP (File Dump) ΓòÉΓòÉΓòÉ
  3111.  
  3112. This utility is accessed from the OS/2 command prompt window. If the "Bonus" 
  3113. option was selected at PM Patrol installation, then this utility is installed 
  3114. into the PMP subdirectory. To allow this utility to be invoked regardless of 
  3115. the current working directory, alter the CONFIG.SYS file and add PMP to the end 
  3116. of the PATH statement. 
  3117.  
  3118. The "FDUMP" utility will dump the contents of any file displaying the ASCII and 
  3119. HEX representation of each byte in the file. 
  3120.  
  3121. This utility provides the ability to specify the format of the output in either 
  3122. a vertical or horizontal fashion. Furthermore, where binary files have specific 
  3123. record lengths, FDUMP allows you to specify this as well. 
  3124.  
  3125. The output from FDUMP is displayed on the screen but can be redirected using 
  3126. the ">outfile" parameter. 
  3127.  
  3128. The syntax for "FDUMP" is: 
  3129.  
  3130. FDUMP filespec [/R=] [/H|/V]
  3131.  
  3132. "filespec" represents a file name to examine. This must be specified. 
  3133.  
  3134. "/R=nn" tells FDUMP to dump the contents of the file using nn record length. 
  3135.  
  3136. "/H" tells FDUMP to dump the contents of the file in horizontal mode. This is 
  3137. the default used by FDUMP. 
  3138.  
  3139. "/V" tells FDUMP to dump the contents of the file in vertical mode. 
  3140.  
  3141.  
  3142. ΓòÉΓòÉΓòÉ 11.9.4. PIDKILL (Kill OS/2 Process) ΓòÉΓòÉΓòÉ
  3143.  
  3144. This utility is accessed from the OS/2 command prompt window. If the "Bonus" 
  3145. option was selected at PM Patrol installation, then this utility is installed 
  3146. into the PMP subdirectory. To allow this utility to be invoked regardless of 
  3147. the current working directory, alter the CONFIG.SYS file and add PMP to the end 
  3148. of the PATH statement. 
  3149.  
  3150. The "PIDKILL" utility allows you to terminate (UNIX-kill 9) a OS/2 program and 
  3151. all its threads. 
  3152.  
  3153. "PIDKILL" takes 1 parameter: the PID to kill. This PID value can be identified 
  3154. by using the PM Patrol Process Monitor window or using the OS/2 "PSTAT" command 
  3155. line utility shipped with OS/2. 
  3156.  
  3157. Note:  A PID that is "blocked" (waiting on another OS/2 resource) may not 
  3158. always be able to be "killed". Repeat attempts may be necessary. 
  3159.  
  3160. The syntax for "PIDKILL" is: 
  3161.  
  3162. PIDKILL pid
  3163.  
  3164. "pid" represents a HEX value as identified in the PM Patrol Monitor window or 
  3165. the OS/2 command line utility "PSTAT". 
  3166.  
  3167. Note:  Recall that the PM Patrol Process Monitor window also allows you to 
  3168. "Kill" PIDs. 
  3169.  
  3170.  
  3171. ΓòÉΓòÉΓòÉ 11.9.5. QMGMT (Queue Management) ΓòÉΓòÉΓòÉ
  3172.  
  3173. This utility is accessed from the OS/2 command prompt window. If the "Bonus" 
  3174. option was selected at PM Patrol installation, then this utility is installed 
  3175. into the PMP subdirectory. To allow this utility to be invoked regardless of 
  3176. the current working directory, alter the CONFIG.SYS file and add PMP to the end 
  3177. of the PATH statement. 
  3178.  
  3179. The "QMGMT" utility allows you to perform various Print Spooler Queue 
  3180. management functions similar to Print Spooler functions available in the PM 
  3181. Patrol program. 
  3182.  
  3183. These functions include purging, releasing, holding, and deleting 1 or more 
  3184. spooler queues. 
  3185.  
  3186. The syntax for "QMGMT" is: 
  3187.  
  3188. QMGMT qname [options]
  3189.  
  3190. "qname" represents the queue to act upon. Enter a queue name or default to ALL 
  3191. queues. 
  3192.  
  3193. "options" represents 1 of the actions to perform on the print queue. By 
  3194. default, QMGMT will report summary information (/I) and status of the queue(s). 
  3195.  
  3196.  
  3197. ΓòÉΓòÉΓòÉ 12. Data Collection Facility ΓòÉΓòÉΓòÉ
  3198.  
  3199. This section discusses the Data Collection Facility (DCF) of PM Patrol. 
  3200.  
  3201.  
  3202. ΓòÉΓòÉΓòÉ 12.1. DCF Definition ΓòÉΓòÉΓòÉ
  3203.  
  3204. The Data Collection Facility (DCF) of PM Patrol is a high performance data 
  3205. acquisition and statistics collecting engine. This engine is one of the 
  3206. by-products of PM Patrol and used by PM Patrol itself. 
  3207.  
  3208. Available to PM Patrol users is a simple API set allowing the C/C++ programmer 
  3209. access to this statistical data. 
  3210.  
  3211. The engine is ALWAYS gathering statistics regardless of what monitor items have 
  3212. been selected for the PM Patrol Status Line display window. These include all 
  3213. monitor items possible in PM Patrol along with others that are not monitorable 
  3214. by the PM Patrol Status Line. 
  3215.  
  3216. The DCF engine causes no extra overhead as it is a integral component of PM 
  3217. Patrol. API interface calls to the DCF engine are extremely fast. Memory to 
  3218. hold the statistics is always resident because PM Patrol is constantly updating 
  3219. it. 
  3220.  
  3221.  
  3222. ΓòÉΓòÉΓòÉ 12.2. DCF Programming Files ΓòÉΓòÉΓòÉ
  3223.  
  3224. The PM Patrol software contains 3 files for DCF programming purposes: 
  3225.  
  3226.    1. PMPAPI.H is a C/C++ header containing all constants, definitions, 
  3227.       structures, and the like. "Include" this header file in your C/C++ 
  3228.       programs. 
  3229.  
  3230.    2. PMPAPI.LIB is the Import Library to link with to resolve DCF APIs. You 
  3231.       must link (LINK386) with this Import Library to resolve external 
  3232.       references and is specified in the LINK386 options. 
  3233.  
  3234.    3. PMPAPI.DLL is the Dynamic Link Library which holds the actual code of 
  3235.       APIs 
  3236.  
  3237.  For compiling and linking, append the installation path used for PM Patrol to 
  3238.  the following statements in your CONFIG.SYS file: 
  3239.  
  3240.    1. "LIB" statement for the API import library (PMPAPI.LIB). 
  3241.  
  3242.    2. "INCLUDE" statement for the API C/C++ header (PMPAPI.H). 
  3243.  
  3244.  Make sure the PM Patrol DLL is available at run time by appending the 
  3245.  installation path used for PM Patrol to the following statements in your 
  3246.  CONFIG.SYS file: 
  3247.  
  3248.    1. "LIBPATH" statement for the API DLL (PMPAPI.DLL). 
  3249.  
  3250.  
  3251. ΓòÉΓòÉΓòÉ 12.3. DCF API Set ΓòÉΓòÉΓòÉ
  3252.  
  3253. This section describes in detail the API set for interfacing with PM Patrol 
  3254. Data Collection Facility. 
  3255.  
  3256.  
  3257. ΓòÉΓòÉΓòÉ 12.3.1. DCFGetStats() API ΓòÉΓòÉΓòÉ
  3258.  
  3259. This API provides the ability to retrieve the PM Patrol real-time statistics. 
  3260. These statistics are maintained in a shared memory segment and retrieval with 
  3261. DCFGetStats() is therefore VERY fast. However, it is highly recommended that 
  3262. this API be called no more frequently that once per second. Since PM Patrol 
  3263. updates this structure at most once per second, calling this API more 
  3264. frequently than PM Patrol updates it would be useless and waste CPU. 
  3265.  
  3266. Prototype: APIRC DCFGetStats (PDCFSTATS pDCFStats)
  3267.  
  3268. Parms:   PDCFSTATS      ... Address of DCFSTATS structure
  3269.  
  3270. Returns:  DCF_NO_ERROR    ... Successful with no errors
  3271.       DCF_PARM_ERROR   ... Invalid parm specified
  3272.       DCF_INACTIVE_ERROR ... DCF not active
  3273.  
  3274. Notes:   Statistics are updated at frequencies defined in the PM Patrol
  3275.       "Refresh Settings" dialog under "Settings" options.
  3276.       Refer to PMPAPI.H for statistical items collected by DCF.
  3277.  
  3278. Example:  Query current statistics and display drives on-line
  3279. _________________________________________________________________________
  3280. #include <stdio.h>
  3281. #include <stdlib.h>
  3282. #include <pmpapi.h>
  3283.  
  3284. INT main(INT argc, CHAR **argv)
  3285. {
  3286.  APIRC    rc;      /* API return code          */
  3287.  PDCFSTATS  pDCFStats;  /* pointer to DCF statistics buffer */
  3288.  
  3289.  /* allocate memory for statistics buffer */
  3290.  pDCFStats=(PDCFSTATS) malloc(sizeof(DCFSTATS));
  3291.  
  3292.  /* retrieve current statistics */
  3293.  rc=DCFGetStats(pDCFStats);
  3294.  if (rc==DCF_NO_ERROR)
  3295.   printf("Drives On-line: %s\n", pDCFStats->drivesOnLine);
  3296.  else
  3297.   printf("PM Patrol DCF not active right now.\n");
  3298.  
  3299.  /* exit program with return code */
  3300.  return rc;
  3301. }
  3302.  
  3303.  
  3304. ΓòÉΓòÉΓòÉ 12.3.2. DCFUserDefined() API ΓòÉΓòÉΓòÉ
  3305.  
  3306. This API provides the ability to post a user defined monitor to PM Patrol for 
  3307. display on the Status Line. It is highly recommended that this API call be 
  3308. issued no frequently that once per second. The maximum length of the buffer is 
  3309. 20 bytes. PM Patrol will force this if the length exceeds this limit. 
  3310.  
  3311. Prototype: APIRC DCFUSerDefined (PCHAR buffer)
  3312.  
  3313. Parms:   PCHAR        ... Address of user defined monitor buffer
  3314.  
  3315. Returns:  DCF_NO_ERROR    ... Successful with no errors
  3316.       DCF_PARM_ERROR   ... Invalid parm specified
  3317.       DCF_INACTIVE_ERROR ... DCF not active
  3318.  
  3319. Example:  Tell PM Patrol to display your name on the Status Line
  3320. _________________________________________________________________________
  3321. #include <stdio.h>
  3322. #include <stdlib.h>
  3323. #include <pmpapi.h>
  3324.  
  3325. INT main(INT argc, CHAR **argv)
  3326. {
  3327.  APIRC  rc;  /* API return code  */
  3328.  
  3329.  /* post monitor buffer to PM Patrol */
  3330.  rc=DCFUserDefined("My name is Dave");
  3331.  if (rc==DCF_NO_ERROR)
  3332.   printf("PMP will show my name on the Status Line\n");
  3333.  else
  3334.   printf("PM Patrol DCF not active right now.\n");
  3335.  
  3336.  /* exit program with return code */
  3337.  return rc;
  3338. }
  3339.  
  3340.  
  3341. ΓòÉΓòÉΓòÉ 12.3.3. DCFVerify() API ΓòÉΓòÉΓòÉ
  3342.  
  3343. This API provides the ability to verify the active state of PM Patrol's Data 
  3344. Collection Facility. 
  3345.  
  3346. Prototype: BOOL DCFVerify (void)
  3347.  
  3348. Parms:   None
  3349.  
  3350. Returns:  TRUE  ... DCF active
  3351.       FALSE ... DCF not active
  3352.  
  3353. Example:  Print status of the DCF
  3354. _________________________________________________________________________
  3355. #include <stdio.h>
  3356. #include <stdlib.h>
  3357. #include <pmpapi.h>
  3358.  
  3359. INT main(INT argc, CHAR **argv)
  3360. {
  3361.  BOOL  activeInd;    /* active indicator */
  3362.  
  3363.  /* verify state */
  3364.  activeInd=DCFVerify();
  3365.  if (activeInd==TRUE)
  3366.   printf("PM Patrol DCF is active\n");
  3367.  else
  3368.   printf("PM Patrol DCF is not active\n");
  3369.  
  3370.  /* exit program with active status */
  3371.  return (INT) activeInd;
  3372. }
  3373.  
  3374.  
  3375. ΓòÉΓòÉΓòÉ 12.3.4. PMPShutDown() API ΓòÉΓòÉΓòÉ
  3376.  
  3377. This API will completely shutdown PM Patrol and the Data Collection Facility. 
  3378.  
  3379. Prototype: BOOL PMPShutDown (void)
  3380.  
  3381. Parms:   None
  3382.  
  3383. Returns:  TRUE  ... Successful with no errors
  3384.       FALSE ... PM Patrol not active
  3385.  
  3386. Example:  Shutdown PM Patrol
  3387. _________________________________________________________________________
  3388. #include <stdio.h>
  3389. #include <stdlib.h>
  3390. #include <pmpapi.h>
  3391.  
  3392. INT main(INT argc, CHAR **argv)
  3393. {
  3394.  BOOL  shutdownInd;
  3395.  
  3396.  /* shutdown and print message */
  3397.  shutdownInd=PMPShutDown();
  3398.  if (shutdownInd==TRUE)
  3399.   printf("PM Patrol and DCF now shutdown.\n");
  3400.  else
  3401.   printf("PM Patrol not active.\n");
  3402.  
  3403.  /* exit program with shutdown status */
  3404.  return (INT) shutdownInd;
  3405. }
  3406.  
  3407.  
  3408. ΓòÉΓòÉΓòÉ 13. Debug Facility ΓòÉΓòÉΓòÉ
  3409.  
  3410. This section discusses the Debug Facility integrated with PM Patrol. 
  3411.  
  3412.  
  3413. ΓòÉΓòÉΓòÉ 13.1. DBug Definition ΓòÉΓòÉΓòÉ
  3414.  
  3415. DBug is a flexible and easy to use real-time debugging for the software 
  3416. engineer/developer that provides debugging capabilities that are impossible for 
  3417. the source-level debugger, easier to use, and often more convenient. 
  3418.  
  3419. The concept of DBug is simple. You place 1 or more "DBUG" statements in your 
  3420. program source code at a strategic point for the purpose of displaying a 
  3421. message, the content of variables or memory, or time stamping a point of entry. 
  3422. Compile and run your program(s). While or after running your program(s), you 
  3423. can view the current results via the "DBug" window or view the DBug log file to 
  3424. browse your DBug results. 
  3425.  
  3426.  
  3427. ΓòÉΓòÉΓòÉ 13.2. Using DBug ΓòÉΓòÉΓòÉ
  3428.  
  3429. When you compile your programs you include the C/C++ header file "dbug.h" and 
  3430. specify the compiler directive "-DDEBUG". You must link your program with the 
  3431. DBug Import Library "DBUGAPI.LIB" to resolve externs. 
  3432.  
  3433. Once you're done testing and want to remove the DBUG statements for 
  3434. "production" use, you may: 
  3435.  
  3436.    1. Recompile your program(s) WITHOUT specifying the compiler directive 
  3437.       "-DDEBUG". The compiler will ignore the DBUG statements. Linking with 
  3438.       "DBUGAPI.LIB" is now unnecessary. 
  3439.  
  3440.    2. Manually remove each DBUG statement. Recompile and link. 
  3441.  
  3442.       Our recommendation is that you leave the "dbug.h" include file in the 
  3443.       program(s) and choose option 1 above. This allows you to, with just a 
  3444.       recompile, have your run-time debugging enabled quickly for testing. 
  3445.  
  3446.  DBUG statements are C/C++ macros which map to a single API. There is a 
  3447.  "generic" DBUG macro for any use, and specific macros for each unique standard 
  3448.  C data type: 
  3449.  
  3450.    1. The DBUG macro is generic and allows you to display the contents from any 
  3451.       data type as well as any chunk of memory. 
  3452.  
  3453.    2. The DBUGM macro displays a simple message of your choice. 
  3454.  
  3455.    3. The DBUGS macro displays the contents of a SHORT data type. 
  3456.  
  3457.    4. The DBUGL macro displays the contents of a LONG data type. 
  3458.  
  3459.    5. The DBUGI macro displays the contents of a INTEGER data type. 
  3460.  
  3461.    6. The DBUGD macro displays the contents of a DOUBLE data type. 
  3462.  
  3463.    7. The DBUGC macro displays the contents of a CHAR data type. 
  3464.  
  3465.    8. The DBUGZ macro displays the contents of a STRING data type. 
  3466.  
  3467.    9. The DBUGP macro displays the contents of a POINTER data type. 
  3468.  
  3469.   10. The DBUGOPEN macro opens a new DBug log file. 
  3470.  
  3471.   11. The DBUGCLOSE macro closes the DBug log file. 
  3472.  
  3473.   12. The DBUGSTOP macro terminates the DBug facility. 
  3474.  
  3475.  Each DBUG statement will cause an IPC message to be build and sent to the 
  3476.  central DBug program. The DBug program will then display the message in his 
  3477.  standard format and log it for later recall - if logging is turned on. 
  3478.  
  3479.  If the DBug program is not presently running to receive these requests, your 
  3480.  DBUG statements will be ignored at run-time. The effort required to complete a 
  3481.  single DBUG within your program(s) is very minimal and insignificant. 
  3482.  
  3483.  The DBug program can be started and stopped at any time - even when programs 
  3484.  are actively DBUGing. If restarted, DBug will continue pulling DBUGs from his 
  3485.  queue and displaying/logging them. 
  3486.  
  3487.  DBug will handle bursts of DBUGs easily as it offers a 256K maximum buffer. 
  3488.  DBug will only allocate/commit enough memory to hold each DBUG request - not 
  3489.  the whole 256K. The 256K buffer is therefore used optimally and requires 
  3490.  little real memory from OS/2. 
  3491.  
  3492.  When monitoring DBug, minimize the window if large amounts of DBUGs are be 
  3493.  displayed. This will significantly improve how fast DBug displays and reduce 
  3494.  the overhead of displaying results. 
  3495.  
  3496.  DBug has two log files and are created in the drive/directory where DBug was 
  3497.  started. If started and controlled from PM Patrol, these log files will reside 
  3498.  in the directory from where PM Patrol was installed and started. 
  3499.  
  3500.    1. The primary and active log "DBUG.LOG" contains current data. 
  3501.  
  3502.    2. The backup log "DBUG.BAK" contains the previous primary data after a new 
  3503.       log file is opened. 
  3504.  
  3505.       When logging is opened, a DBUG message is placed at the beginning of the 
  3506.       DBug log file. 
  3507.  
  3508.       Note:  DBug log files are automatically recycled at midnight so that 
  3509.       under continuous operation, each log will contain a full 24 hours of 
  3510.       information. Therefore, up to 2 days (primary and backup) of DBug 
  3511.       information can be reviewed any time. 
  3512.  
  3513.  If Dbug has nothing to do, absolutely no CPU is used. The small amount of DBug 
  3514.  memory requirements are "swappable" to make room for more active demanding 
  3515.  programs. 
  3516.  
  3517.  DBug is a high performance debugging tool for even the most intense 
  3518.  environments. When the Dbug window is minimized or DBug is running in "Quiet" 
  3519.  mode, DBug can handle several hundred DBUGs per second, even more for highend 
  3520.  Pentium or PowerPC processors. 
  3521.  
  3522.  
  3523. ΓòÉΓòÉΓòÉ 13.3. DBug Programming Files ΓòÉΓòÉΓòÉ
  3524.  
  3525. The DBug software contains 3 files for DBug programming purposes: 
  3526.  
  3527.    1. DBUG.H is a C/C++ header containing the macros for DBug. "Include" this 
  3528.       header file in your C/C++ programs. 
  3529.  
  3530.    2. DBUGAPI.LIB is the Import Library to link with to resolve DBUG APIs. You 
  3531.       must link (LINK386) with this Import Library to resolve external 
  3532.       references and is specified in the LINK386 options. 
  3533.  
  3534.    3. DBUGAPI.DLL is the Dynamic Link Library which holds the actual code of 
  3535.       APIs 
  3536.  
  3537.  For compiling and linking, append the installation path used for PM Patrol to 
  3538.  the following statements in your CONFIG.SYS file: 
  3539.  
  3540.    1. "LIB" statement for the API import library (DBUGAPI.LIB). 
  3541.  
  3542.    2. "INCLUDE" statement for the API C/C++ header (DBUG.H). 
  3543.  
  3544.  Make sure the DBug DLL is available at run time by appending the installation 
  3545.  path used for PM Patrol to the following statements in your CONFIG.SYS file: 
  3546.  
  3547.    1. "LIBPATH" statement for the API DLL (DBUGAPI.DLL). 
  3548.  
  3549.  
  3550. ΓòÉΓòÉΓòÉ 13.4. DBug Macro Set ΓòÉΓòÉΓòÉ
  3551.  
  3552. This section describes in detail the C/C++ macro set for using the Debug 
  3553. Facility. 
  3554.  
  3555.  
  3556. ΓòÉΓòÉΓòÉ 13.4.1. DBUG() Macro ΓòÉΓòÉΓòÉ
  3557.  
  3558. The DBUG macro is generic and allows you to display the contents from any data 
  3559. type as well as any chunk of memory. 
  3560.  
  3561. Prototype: ULONG  DBUG (PVOID address, USHORT size, PCHAR note)
  3562.  
  3563. Parms:   address       ... Address to displayed/dumped
  3564.       size        ... Size of data type or memory to be display
  3565.       note        ... A personal description of your choice
  3566.  
  3567. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3568.  
  3569. Example:
  3570. _________________________________________________________________________
  3571. #include <stdio.h>
  3572. #include <stdlib.h>
  3573. #include <dbug.h>
  3574.  ...
  3575.  
  3576.  CHAR  array[60];
  3577.  
  3578.  DBUG(array, sizeof(array), "my array");
  3579.  
  3580.  
  3581. ΓòÉΓòÉΓòÉ 13.4.2. DBUGM() Macro ΓòÉΓòÉΓòÉ
  3582.  
  3583. The DBUGM macro displays a simple message of your choice. 
  3584.  
  3585. Prototype: ULONG  DBUGM(PCHAR message)
  3586.  
  3587. Parms:   message       ... A personal description of your choice
  3588.  
  3589. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3590.  
  3591. Example:
  3592. _________________________________________________________________________
  3593. #include <stdio.h>
  3594. #include <stdlib.h>
  3595. #include <dbug.h>
  3596.  ...
  3597.  
  3598.  DBUGM("Point 1 of program");
  3599.  
  3600.  
  3601. ΓòÉΓòÉΓòÉ 13.4.3. DBUGS() Macro ΓòÉΓòÉΓòÉ
  3602.  
  3603. The DBUGS macro displays the contents of a SHORT data type. 
  3604.  
  3605. Prototype: ULONG  DBUGS(PSHORT address, PCHAR note)
  3606.  
  3607. Parms:   address       ... Address of short to be displayed
  3608.       note        ... A personal description of your choice
  3609.  
  3610. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3611.  
  3612. Example:
  3613. _________________________________________________________________________
  3614. #include <stdio.h>
  3615. #include <stdlib.h>
  3616. #include <dbug.h>
  3617.  ...
  3618.  
  3619.  USHORT  variable;
  3620.  
  3621.  DBUGS(&variable, "my variable");
  3622.  
  3623.  
  3624. ΓòÉΓòÉΓòÉ 13.4.4. DBUGS() Macro ΓòÉΓòÉΓòÉ
  3625.  
  3626. The DBUGL macro displays the contents of a LONG data type. 
  3627.  
  3628. Prototype: ULONG  DBUGL(PLONG address, PCHAR note)
  3629.  
  3630. Parms:   address       ... Address of long to be displayed
  3631.       note        ... A personal description of your choice
  3632.  
  3633. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3634.  
  3635. Example:
  3636. _________________________________________________________________________
  3637. #include <stdio.h>
  3638. #include <stdlib.h>
  3639. #include <dbug.h>
  3640.  ...
  3641.  
  3642.  LONG  variable;
  3643.  
  3644.  DBUGL(&variable, "my variable");
  3645.  
  3646.  
  3647. ΓòÉΓòÉΓòÉ 13.4.5. DBUGI() Macro ΓòÉΓòÉΓòÉ
  3648.  
  3649. The DBUGI macro displays the contents of a INTEGER data type. 
  3650.  
  3651. Prototype: ULONG  DBUGI(PINT address, PCHAR note)
  3652.  
  3653. Parms:   address       ... Address of integer to be displayed
  3654.       note        ... A personal description of your choice
  3655.  
  3656. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3657.  
  3658. Example:
  3659. _________________________________________________________________________
  3660. #include <stdio.h>
  3661. #include <stdlib.h>
  3662. #include <dbug.h>
  3663.  ...
  3664.  
  3665.  INT   variable;
  3666.  
  3667.  DBUGI(&variable, "my variable");
  3668.  
  3669.  
  3670. ΓòÉΓòÉΓòÉ 13.4.6. DBUGD() Macro ΓòÉΓòÉΓòÉ
  3671.  
  3672. The DBUGD macro displays the contents of a DOUBLE data type. 
  3673.  
  3674. Prototype: ULONG  DBUGD(PDOUBLE address, PCHAR note)
  3675.  
  3676. Parms:   address       ... Address of double to be displayed
  3677.       note        ... A personal description of your choice
  3678.  
  3679. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3680.  
  3681. Example:
  3682. _________________________________________________________________________
  3683. #include <stdio.h>
  3684. #include <stdlib.h>
  3685. #include <dbug.h>
  3686.  ...
  3687.  
  3688.  DOUBLE  variable;
  3689.  
  3690.  DBUGD(&variable, "my variable");
  3691.  
  3692.  
  3693. ΓòÉΓòÉΓòÉ 13.4.7. DBUGC() Macro ΓòÉΓòÉΓòÉ
  3694.  
  3695. The DBUGC macro displays the contents of a CHAR data type. 
  3696.  
  3697. Prototype: ULONG  DBUGC(PINT address, PCHAR note)
  3698.  
  3699. Parms:   address       ... Address of char to be displayed
  3700.       note        ... A personal description of your choice
  3701.  
  3702. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3703.  
  3704. Example:
  3705. _________________________________________________________________________
  3706. #include <stdio.h>
  3707. #include <stdlib.h>
  3708. #include <dbug.h>
  3709.  ...
  3710.  
  3711.  CHAR   variable;
  3712.  
  3713.  DBUGC(&variable, "my variable");
  3714.  
  3715.  
  3716. ΓòÉΓòÉΓòÉ 13.4.8. DBUGP() Macro ΓòÉΓòÉΓòÉ
  3717.  
  3718. The DBUGP macro displays the contents of a POINTER data type. 
  3719.  
  3720. Prototype: ULONG  DBUGP(PVOID address, PCHAR note)
  3721.  
  3722. Parms:   address       ... Address of pointer to be displayed
  3723.       note        ... A personal description of your choice
  3724.  
  3725. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3726.  
  3727. Example:
  3728. _________________________________________________________________________
  3729. #include <stdio.h>
  3730. #include <stdlib.h>
  3731. #include <dbug.h>
  3732.  ...
  3733.  
  3734.  PVOID  variable;
  3735.  
  3736.  /* display pointer value */
  3737.  DBUGP(&variable, "my variable");
  3738.  
  3739.  /* display memory contents of size 2048 bytes */
  3740.  DBUG(variable, 2048, "my variable memory");
  3741.  
  3742.  
  3743. ΓòÉΓòÉΓòÉ 13.4.9. DBUGZ() Macro ΓòÉΓòÉΓòÉ
  3744.  
  3745. The DBUGZ macro displays the contents of a STRING data type. 
  3746.  
  3747. Prototype: ULONG  DBUGZ(PVOID address, PCHAR note)
  3748.  
  3749. Parms:   address       ... Address of string to be displayed
  3750.       note        ... A personal description of your choice
  3751.  
  3752. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3753.  
  3754. Example:
  3755. _________________________________________________________________________
  3756. #include <stdio.h>
  3757. #include <stdlib.h>
  3758. #include <dbug.h>
  3759.  ...
  3760.  
  3761.  CHAR  variable[32]="Hello world";
  3762.  
  3763.  DBUGZ(variable, "my variable");
  3764.  
  3765.  
  3766. ΓòÉΓòÉΓòÉ 13.4.10. DBUGOPEN() Macro ΓòÉΓòÉΓòÉ
  3767.  
  3768. The DBUGOPEN macro opens a new DBug log file. 
  3769.  
  3770. Prototype: ULONG  DBUGOPEN(VOID)
  3771.  
  3772. Parms:   None
  3773.  
  3774. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3775.  
  3776. Example:
  3777. _________________________________________________________________________
  3778. #include <stdio.h>
  3779. #include <stdlib.h>
  3780. #include <dbug.h>
  3781.  ...
  3782.  
  3783.  DBUGOPEN();
  3784.  
  3785.  
  3786. ΓòÉΓòÉΓòÉ 13.4.11. DBUGCLOSE() Macro ΓòÉΓòÉΓòÉ
  3787.  
  3788. The DBUGCLOSE macro closes the DBug log file. 
  3789.  
  3790. Prototype: ULONG  DBUGCLOSE(VOID)
  3791.  
  3792. Parms:   None
  3793.  
  3794. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3795.  
  3796. Example:
  3797. _________________________________________________________________________
  3798. #include <stdio.h>
  3799. #include <stdlib.h>
  3800. #include <dbug.h>
  3801.  ...
  3802.  
  3803.  DBUGCLOSE();
  3804.  
  3805.  
  3806. ΓòÉΓòÉΓòÉ 13.4.12. DBUGSTOP() Macro ΓòÉΓòÉΓòÉ
  3807.  
  3808. The DBUGSTOP macro terminates the DBug Facility. 
  3809.  
  3810. Prototype: ULONG  DBUGSTOP(VOID)
  3811.  
  3812. Parms:   None
  3813.  
  3814. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3815.  
  3816. Example:
  3817. _________________________________________________________________________
  3818. #include <stdio.h>
  3819. #include <stdlib.h>
  3820. #include <dbug.h>
  3821.  ...
  3822.  
  3823.  DBUGSTOP();
  3824.  
  3825.  
  3826. ΓòÉΓòÉΓòÉ 13.5. DBug Output ΓòÉΓòÉΓòÉ
  3827.  
  3828. The following is a sample output from the DBug Facility. 
  3829.  
  3830.  
  3831. Sample output
  3832. ------------------------------------------------------------------------
  3833. From: PID 00a3  At 21:06:42  DBUG.CPP (line 474)
  3834. Note: DBug log opened.
  3835. Type: INFO, 0 bytes  (0 qCnt)
  3836. ------------------------------------------------------------------------
  3837. From: PID 00a8  At 21:07:10  TEST.C (line 22)
  3838. Note: sample DBUGs
  3839. Type: INFO, 0 bytes  (3 qCnt)
  3840. ------------------------------------------------------------------------
  3841. From: PID 00a8  At 21:07:10  TEST.C (line 23)
  3842. Note: my return code (little endian)
  3843. Type: LONG, 4 bytes  (2 qCnt)
  3844. 0000: 00 00 00 00                   |....       |
  3845. ------------------------------------------------------------------------
  3846. From: PID 00a8  At 21:07:10  TEST.C (line 24)
  3847. Note: a chunk of memory
  3848. Type: VOID, 120 bytes  (1 qCnt)
  3849. 0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  3850. 0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  3851. 0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  3852. 0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  3853. 0040: 00 00 00 00 00 00 00 00 00 00 43 44 45 46 00 00 |..........CDEF..|
  3854. 0050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  3855. 0060: 00 00 00 00 00 43 00 00 00 00 00 00 00 00 60 c6 |.....C........`.|
  3856. 0070: a2 41 00 00 00 00 10 59             |.A.....Y     |
  3857. ------------------------------------------------------------------------
  3858. From: PID 00a8  At 21:07:10  TEST.C (line 25)
  3859. Note: my double value
  3860. Type: DOUBLE, 8 bytes  (0 qCnt)
  3861. 0000: 33 33 33 33 b3 00 ab 40             |3333...@     |
  3862. ------------------------------------------------------------------------
  3863.  
  3864. Using the last DBUG for example, the DBug output contains four (4) main 
  3865. sections: 
  3866.  
  3867.    1. The From section identifies who (what program) the DBUG was sent from: 
  3868.  
  3869.         a. The Process ID (as hex) 
  3870.  
  3871.         b. The time the DBug was issued (not received and displayed/logged). 
  3872.  
  3873.         c. The program source code name and line number of the DBUG statement 
  3874.            within the program source. 
  3875.  
  3876.    2. The Note section is where your personal note/description from the DBUG 
  3877.       statement is displayed. 
  3878.  
  3879.    3. The Type section identifies the data type displayed, the number of bytes 
  3880.       for the data, and how many DBUG statements remain in the DBug queue to be 
  3881.       displayed (qCnt): 
  3882.  
  3883.         a. These include all standard data types such as DOUBLE, CHAR, PCHAR, 
  3884.            INT, and so on. 
  3885.  
  3886.         b. VOID is displayed when a "memory chunk" is displayed. 
  3887.  
  3888.         c. INFO is displayed when just a DBUGM (Message) statement is issued. 
  3889.  
  3890.    4. The last section displays the contents (in hex and ASCII representation) 
  3891.       of the data type. The left most column of this section is the offset 
  3892.       starting at zero. 
  3893.  
  3894.  
  3895. ΓòÉΓòÉΓòÉ 14. Performance and Tuning ΓòÉΓòÉΓòÉ
  3896.  
  3897. This document makes an assumption that the reader is familiar with OS/2 Warp. 
  3898. It presents general and specific tuning information for a computer that will 
  3899. have or has had OS/2 Warp installed. 
  3900.  
  3901.  
  3902. ΓòÉΓòÉΓòÉ 14.1. General Setup Considerations ΓòÉΓòÉΓòÉ
  3903.  
  3904. There are some basic considerations that need to be made about the computer 
  3905. that you will install Warp on. It breaks down into 3 elements: processor, 
  3906. memory and disk. These three major elements, interestingly enough, have 
  3907. remained the three major elements since the computer was first developed. 
  3908.  
  3909. In most cases the processor that you have in your system has a minimal impact 
  3910. on performance compared to the amount of memory and the speed of the disk. The 
  3911. only real considerations to make with respect to processor are its age. 
  3912.  
  3913. You want to avoid 386 and 386SX processors. You want processors that can be 
  3914. upgraded and those that support instruction caching sometimes referred to as 
  3915. Level 1 or Level 2 cache. 
  3916.  
  3917. There really is no optimum level instruction cache size. More instruction cache 
  3918. is usually better than less. The only real determinant should be costs. 
  3919.  
  3920. Memory, also called RAM, is a different story. Without enough memory your 
  3921. system will run slowly.  If you cannot afford to buy memory for your system, 
  3922. then you must manage the things you install. 
  3923.  
  3924. You only want to install fonts, device drivers, objects and applications that 
  3925. you will actually use. You may think that just because you have not started an 
  3926. installed application, it is not using any memory. This is not always the case. 
  3927. Many newer OS/2 applications will register classes and objects with the 
  3928. WorkPlace Shell or add items into path statements, set statements and the like. 
  3929. Many of these things will cause memory to be used even when the program is not 
  3930. running. 
  3931.  
  3932. In some cases, the program will require special device drivers be installed 
  3933. which also use up memory. 
  3934.  
  3935. Other things that affect memory usage are disk cache, CDROM cache, multimedia 
  3936. support and file buffers. The important factor to consider for the disk cache, 
  3937. is that it is designed for general use. 
  3938.  
  3939. Since most systems are not general use, the disk cache should be tuned to the 
  3940. specific system environment to optimize memory usage. We will discuss the disk 
  3941. cache considerations in more detail when we look at the file system options. 
  3942.  
  3943. In addition to RAM and the CPU, one of the most important pieces of hardware on 
  3944. your system is the hard disk. It will affect the performance of starting your 
  3945. system, loading applications, the speed of applications, and the general 
  3946. performance of your system. 
  3947.  
  3948. It is best to have a disk subsystem which uses a bus-mastering type of adapter. 
  3949. Many SCSI devices and some of the PCI devices have this capability. These types 
  3950. of devices allow for multiple requests to be sent to the disk device to be 
  3951. processed rather than just one command or function at a time. They also allow 
  3952. what is called scatter/gather capabilities. 
  3953.  
  3954. Without bus mastering, data that is transferred between the computer's memory 
  3955. and the disk must be in contiguous memory, one byte after the other. With bus 
  3956. mastering, the data does not have to be contiguous and does not have to be on a 
  3957. 64K byte boundary. Bus-mastering relieves the system of a lot of overhead and 
  3958. therefore performs faster in actual usage, although  you will see little or no 
  3959. difference when running benchmarks. 
  3960.  
  3961. When the memory in your system is overcommitted, that is, the operating system 
  3962. and the applications you are running need more memory than is physically 
  3963. available in your computer, Warp will page, or swap, code and data that has not 
  3964. been accessed for a while to the disk in order to make room for the needed code 
  3965. and data. In this instance, the disk is the single most important factor in 
  3966. your system with respect to performance. 
  3967.  
  3968. Other considerations with regard to the disk is whether or not it has its own 
  3969. caching. If it does and your applications perform mainly sequential disk 
  3970. access, then you can reduce the size of your software disk cache. However, this 
  3971. is subject to the amount of cache installed on the controller. Usually, 256 KB 
  3972. cache is a minimum necessary setting for disk cache. 
  3973.  
  3974. Hardware disk cache will have little or no effect when the programs perform 
  3975. random disk operations. The hardware cache will improve the performance of 
  3976. starting the Warp operating system and the applications. 
  3977.  
  3978. Run a normal load of programs on your machine and then check 
  3979. C:\OS2\SYSTEM\SWAPPER.DAT. Divide its size by 1024 and use that to determine 
  3980. how much space to pre-allocate for your swappath. For example, if your system 
  3981. normally has a 14 MB SWAPPER.DAT, change your swappath line in CONFIG.SYS to 
  3982. like "SWAPPATH=C:\OS2\SYSTEM 2048 14680". 
  3983.  
  3984. If you're running a video driver at a very high color and resolution (65K or 
  3985. 16.6 Million colors) that can severely impact system performance. Try running 
  3986. at 256 colors and see if it works any better. 
  3987.  
  3988. Don't run more than one CPU resource monitor at a time. 
  3989.  
  3990. If you're running a 4 MB system, expect a lot of swapping. More memory will 
  3991. always improve performance. 
  3992.  
  3993. Printing can be CPU intensive. Using the OS/2 spooler and adjusting the spooler 
  3994. priority, you can fine tune the printing overhead so that it has the least 
  3995. negative impact on system performance while keeping the printer(s) busy. A 
  3996. priority setting above 50% may be too aggressive for some slower low-end 
  3997. systems. 
  3998.  
  3999. Keep in mind, the OS/2 spooler requires memory as well (about 512 KB) and will 
  4000. reduce available memory accordingly. If your system has 8 MB of memory and you 
  4001. print infrequently, consider turning off the OS/2 spooler. 
  4002.  
  4003.  
  4004. ΓòÉΓòÉΓòÉ 14.2. File System Performance ΓòÉΓòÉΓòÉ
  4005.  
  4006. OS/2 supports two file systems for use on your hard disks: FAT and HPFS. No 
  4007. matter which file system is used, there are some basic considerations. 
  4008.  
  4009. You need to install the file system depending on which operating systems will 
  4010. access the data. If you plan to boot a DOS or Windows system natively, then any 
  4011. data that will be accessed must exist on a FAT disk partition. 
  4012.  
  4013. If you will only be running DOS and Windows applications in a Warp VDM ( 
  4014. Virtual DOS Machine ), then the file system can be HPFS or FAT. 
  4015.  
  4016. Also, when accessing a file on a server, and the server file system is HPFS, 
  4017. you do not need to install HPFS on your local client machine. HPFS only needs 
  4018. to be installed on a computer when a partition on a local hard disk is 
  4019. formatted as HPFS. 
  4020.  
  4021. The amount of memory you have in your machine should affect the decision about 
  4022. which file system to use. When HPFS is installed, it requires a minimum 200 to 
  4023. 250 KB of working set, plus the space allocated for its cache. This is a 
  4024. significant amount of memory and is the main reason why FAT is used when Warp 
  4025. is installed on a system that contains 4 MB of physical memory.. 
  4026.  
  4027. Regardless of which file system you select, you need to plan for future 
  4028. requirements: How will maintenance and fixes be applied? Where will 
  4029. applications be installed? Where will data reside? etc. 
  4030.  
  4031. It is recommended that when you set up your hard disk, you create a minimum of 
  4032. 3 partitions. One will be for the operating system(s), one for your 
  4033. applications and static data files, and another for dynamic data files and 
  4034. temporary files.  Decide whether you want to use Boot Manager or Dual Boot. 
  4035.  
  4036. If you select Dual Boot, then OS/2 must be installed with FAT file system. 
  4037.  
  4038. For temporary files, it is better to have them preallocated and reuse them 
  4039. rather than create and destroy them every time. Extending a file can be almost 
  4040. twice as slow as just writing to a file. Also, if you reuse files, it will 
  4041. definitely reduce the fragmentation in your disk directories. 
  4042.  
  4043.  
  4044. ΓòÉΓòÉΓòÉ 14.2.1. FAT File System ΓòÉΓòÉΓòÉ
  4045.  
  4046. FAT is best suited for disk partitions that are 80 MB or less in size or that 
  4047. have a limited number of files installed. Usually, 256 files is a good target, 
  4048. with up to 500 acceptable. 
  4049.  
  4050. The number of files become important because FAT files are allocated based on a 
  4051. sector size. The sector size is determined by the size of the disk partition 
  4052. and can be 2K, 4K, 8K or higher. 
  4053.  
  4054. Since most file sizes are not an exact multiple of the sector size, disk space 
  4055. gets wasted. For example, installing DOS, Windows and Warp on a 100 MB 
  4056. partition resulted in 2.2 MB of disk space being wasted. 
  4057.  
  4058. Also, when Warp is allocating space for a file in a FAT partition, it will look 
  4059. for the largest available free space area to write the data or create the file. 
  4060.  
  4061. If lots of files were created and deleted, or expanded, these free space areas 
  4062. become smaller and smaller and are spread out over the disk. This is referred 
  4063. to as fragmentation. 
  4064.  
  4065. When a file is stored in many areas on the disk, it takes longer to read that 
  4066. data simply because the disk head has to do more seeking. 
  4067.  
  4068. The FAT file system disk cache is defined by the DISKCACHE= statement in the 
  4069. CONFIG.SYS file. New in Warp is the "D" designation for the size of the disk 
  4070. cache. Warp will allocate space for the disk cache based on the amount of 
  4071. physical memory that is installed in the system. If more than 8 MB is 
  4072. installed, 10% of the physical memory will be used for the disk cache up to a 
  4073. maximum of 14.4 MB. 
  4074.  
  4075. Based on what applications and support you install in your system, this may be 
  4076. too high and cause you to overcommit your memory. If there is not a lot of disk 
  4077. work done on your system, or you are using DB/2 or HPFS, then you should reduce 
  4078. the size of your disk cache. A number between 128 and 256K is sufficient for 
  4079. most systems. On a 4 MB system, the disk cache is set to 48K. 
  4080.  
  4081. In conjunction with the cache size, you should also set the cache threshold. 
  4082. This determines which records being written or read will be placed in the 
  4083. cache. The default is 1 sector. 
  4084.  
  4085. If your cache size is 128K or larger, increase this value to at least 16 and 
  4086. preferably 32. More detail about the DISKCACHE= statement will be given in the 
  4087. section on CONFIG.SYS. 
  4088.  
  4089. Some additional items for improving performance using FAT are: 
  4090.  
  4091.    1. Group files by usage, the most used files first, and least used files 
  4092.       last. 
  4093.  
  4094.    2. Group files based on whether they are static or dynamic. All dynamic and 
  4095.       temporary files should be placed in a separate partition. 
  4096.  
  4097.    3. If possible, place all temporary files in a single directory. 
  4098.  
  4099.    4. If possible, permanently create temporary files and reuse them. 
  4100.  
  4101.    5. Only create directories that are really needed. The fewer number of 
  4102.       directories you have to search, the faster your search will be. 
  4103.  
  4104.    6. Defragment your partitions after installing new applications, deleting 
  4105.       files or applying maintenance and fixes. Any DOS defragmentation program 
  4106.       that is aware of hidden files can be used. 
  4107.  
  4108.  
  4109. ΓòÉΓòÉΓòÉ 14.2.2. HPFS File System ΓòÉΓòÉΓòÉ
  4110.  
  4111. HPFS does away with some of the concerns that are prevalent with FAT. Files are 
  4112. allocated with more granularity than FAT, and "free space" is allocated in 
  4113. anticipation of file size growth. Therefore fragmentation is greatly reduced 
  4114. and less disk space is used on a per file basis. It is not uncommon to regain 
  4115. about 10 MB out of 100 MB as compared to using FAT. 
  4116.  
  4117. Also, HPFS is especially efficient when handling large partition sizes, > 100 
  4118. MB, and large numbers of files, > 500. Try to limit the number of individual 
  4119. files in a directory to not exceed 5000. 
  4120.  
  4121. The HPFS file system shipped with the OS/2 product has a cache limit of 2 MB. 
  4122. There is no such limit when using the HPFS386 file system that comes with the 
  4123. LAN Server products. 
  4124.  
  4125. HPFS cache parameters are specified on the IFS statement in the CONFIG.SYS 
  4126. file. As with FAT, you should specify the caching threshold value. Use the 
  4127. /CRECL parameter to do this. Here you specify a number in terms of K bytes. 32 
  4128. KB is usually a good starting value. 
  4129.  
  4130. As mentioned earlier, a minor drawback to HPFS is the amount of extra memory 
  4131. that it requires to achieve its performance. Even if there is no HPFS partition 
  4132. on your system, it will cost between 128 and 130K of working set memory, as 
  4133. well as the space for the HPFS cache. Overall, it's a small price to pay for a 
  4134. high performance file system. 
  4135.  
  4136. If you are installing Warp on an existing DOS and or Windows system, you do not 
  4137. want to install HPFS. When your system is up and running, you can check the 
  4138. working set of your system. 
  4139.  
  4140. If there is enough free memory and you wish to create a HPFS partition, then 
  4141. you can use selective reinstall to install the HPFS support. Remember that any 
  4142. data stored in the HPFS partition can not be accessed if you boot your machine 
  4143. under DOS. 
  4144.  
  4145. Another advantage of HPFS over FAT is in the area of extended attributes (EAs). 
  4146. EAs are data attached to a file and used to provide information about the file 
  4147. it is attached to. 
  4148.  
  4149. The name of an object that appears in an OS/2 folder or on the OS/2 Desktop is 
  4150. stored in EAs. In HPFS, EAs are part of the HPFS file control block which is 
  4151. read when the file is open. 
  4152.  
  4153. In FAT, EAs are stored in a separate file and require additional I/O to access 
  4154. them, and are therefore slower. 
  4155.  
  4156. Overall, HPFS comes highly recommended. It has matured since conception to 
  4157. bring very safe high performance to your system and successfully replaces the 
  4158. age old FAT design. 
  4159.  
  4160.  
  4161. ΓòÉΓòÉΓòÉ 14.2.3. Gospel of Disk Cache ΓòÉΓòÉΓòÉ
  4162.  
  4163. The following "Gospel of Caching According to Max" is provided by Proportional 
  4164. Software based upon a great deal of OS/2 system "tweaking" done by the DCF/2 
  4165. development team. 
  4166.  
  4167. You can get better performance from your system by using the memory you have 
  4168. available to you in the most efficient and effective way. 
  4169.  
  4170. From the table below, select the case that best describes the file system or 
  4171. systems you use and memory available on your system. 
  4172.  
  4173.  
  4174. CASE 1: You use only HPFS or only FAT but not both
  4175. ----------------------------------------------------------------
  4176.                  HPFS only     FAT only
  4177. If system memory is at least   Set CACHE to   Set DISKCACHE to
  4178.         16 MB        2048      2048
  4179.         12 MB        1536      1536
  4180.          8 MB        1024      1024
  4181.  
  4182. FAT DISKCACHE parms:
  4183.      LAZY WRITES        N/A       LW
  4184.  
  4185. HPFS CACHE parms:
  4186.      LAZY WRITES        /LAZY:ON    N/A
  4187.         MAXAGE        >7,500     N/A
  4188.        DISKIDLE        60,000     N/A
  4189.       BUFFERIDLE        60,000     N/A
  4190.  
  4191. If your system is HPFS only REM out the DISKCACHE statement in
  4192. your CONFIG.SYS file. If your system is FAT only, REM out the
  4193. IFS=HPFS.IFS statement.
  4194.  
  4195.  
  4196. CASE 2: You use both HPFS and FAT (active and passive)
  4197. ----------------------------------------------------------------
  4198.                 HPFS active    FAT passive
  4199. If system memory is at least   Set CACHE to   Set DISKCACHE to
  4200.         16 MB       2048       512 -1024
  4201.         12 MB       1536       256 - 512
  4202.          8 MB       1024       128 - 256
  4203.  
  4204. FAT DISKCACHE parms:
  4205.      LAZY WRITES       N/A        LW
  4206.  
  4207. HPFS CACHE parms:
  4208.      LAZY WRITES       /LAZY:ON     N/A
  4209.         MAXAGE       >7,500      N/A
  4210.        DISKIDLE       60,000      N/A
  4211.       BUFFERIDLE       60,000      N/A
  4212.  
  4213.  
  4214. CASE 3: You use both HPFS and FAT (passive and active)
  4215. ----------------------------------------------------------------
  4216.                  HPFS passive    FAT active
  4217. If system memory is at least   Set CACHE to  Set DISKCACHE to
  4218.         16 MB        1024       2048
  4219.         12 MB        768       1536
  4220.          8 MB        512       1024
  4221.  
  4222. FAT DISKCACHE parms:
  4223.      LAZY WRITES        N/A       LW
  4224.  
  4225. HPFS CACHE parms:
  4226.      LAZY WRITES        /LAZY:ON     N/A
  4227.         MAXAGE        >7,500      N/A
  4228.        DISKIDLE        60,000      N/A
  4229.       BUFFERIDLE        60,000      N/A
  4230.  
  4231. A few more notes: 
  4232.  
  4233.    1. For purposes of the table above, "active" and "passive" are descriptors 
  4234.       for the way a partition is used.  If it is seldom used, it is "passive." 
  4235.       If a lot of disk intensive I/O occurs on the partition, it is "active." 
  4236.  
  4237.    2. The HPFS actually requires 128 to 130K of committed memory as opposed to 
  4238.       the widely perceived 512K.  As cache size increases to 2 MB, this 
  4239.       requirement increases as well, up to a maximum of about 240K. 
  4240.  
  4241.    3. The optimal cache size seems to be 1536. 
  4242.  
  4243.    4. When comparing the relative merits of the HPFS versus FAT, consider the 
  4244.       following:  On partitions of identical size, the HPFS gives you about 15% 
  4245.       more space and performance is about 28% better! 
  4246.  
  4247.    5. Instead of continuing to increase performance, a DISKCACHE value in 
  4248.       excess of 2048 seems to degrade it. 
  4249.  
  4250.  
  4251. ΓòÉΓòÉΓòÉ 14.3. System Tuning ΓòÉΓòÉΓòÉ
  4252.  
  4253. Before covering OS/2 system tuning let's review the concept of threads and how 
  4254. they are used in OS/2. Every program that you run on an OS/2 system will 
  4255. process as one or more threads. 
  4256.  
  4257. A thread is the basic unit of work within OS/2. Each thread requires a minimum 
  4258. of 4K stack space. Stack space is used to save parameters and addresses when 
  4259. different functions are called from a thread. 
  4260.  
  4261. These functions might be reading from or writing to a disk, using semaphores, 
  4262. and other system and program functions. It is important to ensure that you 
  4263. allocate enough stack space for the thread to run. 
  4264.  
  4265. You can use programs such as EXEHDR.EXE to see and modify the stack space 
  4266. allocated for your program. All programs, DOS, Windows and OS/2 use a minimum 
  4267. of one thread. Each thread executes at a given priority. 
  4268.  
  4269. The priority is used by OS/2 to determine which thread gets to run when more 
  4270. than one thread is ready to run. The highest-priority thread ready to run will 
  4271. be the one dispatched by the system and given time to run. It is given what is 
  4272. referred to as a "time slice". This is a set period of time during which a 
  4273. thread is allowed to run. After this time has expired, the highest-priority 
  4274. thread that is ready to run will be given a time slice in which to run. 
  4275.  
  4276. If the same thread still wanted to run, and it was the highest-priority thread, 
  4277. it would receive another time slice to run in. 
  4278.  
  4279. OS/2 programs usually run at normal priority, which is 200. Under program 
  4280. control, the program can change its priority to be server class, 300, or 
  4281. time-critical, 800. 
  4282.  
  4283. It can also change its subclass priority between 0 and 31. A thread that has 
  4284. priority 200 and a subclass of 15 has a higher effective priority than a thread 
  4285. with priority 200 and subclass 0, and therefore runs first. 
  4286.  
  4287. All DOS and Windows applications always run at priority 200. In OS/2 Warp, IBM 
  4288. has added the capability to define the subclass priority for these 
  4289. applications. Care should be taken when using this subclass priority since it 
  4290. may cause other programs to run slower or generate errors in the case of 
  4291. communication applications that do not get the subclass boost. 
  4292.  
  4293. Warp will give OS/2 threads a priority boost for specific types of functions 
  4294. and states. Following are the priority boosts that are received, in descending 
  4295. order: 
  4296.  
  4297.    1. Disk I/O: When an interrupt is received stating that a disk operation has 
  4298.       completed, the thread that processes this state will receive a priority 
  4299.       boost for one time slice to process this interrupt. 
  4300.  
  4301.    2. Starved: In the CONFIG.SYS file, there is a statement MAXWAIT=3. The 
  4302.       number 3 specifies how long a thread can be in the ready-to-run state 
  4303.       without having received time to run. If a thread had been waiting to run 
  4304.       for 3 seconds, its priority would be raised to the Starved priority 
  4305.       level. 
  4306.  
  4307.    3. Keyboard: This is a boost in priority given to a thread when it is 
  4308.       interacting with the system keyboard. Basically, it is for accepting 
  4309.       typed in data. 
  4310.  
  4311.    4. Foreground:  This is a priority boost given to all threads of the program 
  4312.       that owns the active window on the OS/2 screen, the one that is 
  4313.       highlighted. 
  4314.  
  4315.    5. Windowed:  Threads which have windows showing on the display will also 
  4316.       receive a priority boost when drawing or writing into that window. 
  4317.  
  4318.  When a thread is in more than one of these states, the system will combine the 
  4319.  states and give a priority based on the combined states. 
  4320.  
  4321.  For DOS and Windows applications, these priority states do not apply. Instead, 
  4322.  a second thread is used to handle the interrupt, and that thread is given an 
  4323.  interrupt boost.. 
  4324.  
  4325.  Idle class is the other priority class that exists in OS/2. This priority 
  4326.  level runs only when nothing else in the system wants to run. Threads in this 
  4327.  class will not receive any of the state boosts. 
  4328.  
  4329.  If DOS and/or Windows applications are being run, then you should avoid the 
  4330.  use of threads that run in idle class because they will never run but will 
  4331.  take up system space. 
  4332.  
  4333.  
  4334. ΓòÉΓòÉΓòÉ 14.3.1. CONFIG.SYS Settings ΓòÉΓòÉΓòÉ
  4335.  
  4336. These are specific things in the CONFIG.SYS file that you can change to affect 
  4337. the performance of your system. 
  4338.  
  4339. First, we cover those statements that you should NOT modify unless you have a 
  4340. system which has a special use, such as a process control system. An example 
  4341. would be a system used to monitor a manufacturing machine or chemical process, 
  4342. where timing and response time are critical factors. 
  4343.  
  4344.    1. PRIORITY_DISK_IO=YES  This allows the application that has screen focus 
  4345.       to receive a priority boost when it's disk operation is complete. This 
  4346.       applies to the first time slice given to the thread after the disk 
  4347.       operation is complete. After the time slice, the state is reset for the 
  4348.       thread and the priority boost removed. 
  4349.  
  4350.    2. MEMMAN=SWAP,PROTECT  Allows OS/2 to swap code and data to disk when more 
  4351.       memory is needed than is physically available in your computer. If you do 
  4352.       not specify SWAP, you will need enough physical memory in you computer to 
  4353.       hold all the code and data that OS/2 and your application needs to run. 
  4354.       You do not pay a penalty by specifying SWAP and then not needing to use 
  4355.       it. The PROTECT parameter allows Dynamic Link Libraries (DLL) to allocate 
  4356.       protected memory. Protected memory is memory that is protected from being 
  4357.       accessed by unauthorized programs. You can also specify a COMMIT 
  4358.       parameter. This forces the system to ensure that enough physical memory 
  4359.       or swap file disk space is available for a memory object when it is 
  4360.       created. Normally, OS/2 commits physical and disk memory when the page of 
  4361.       memory is actually touched. Specifying this parameter can significantly 
  4362.       increase the amount space your swap file uses on disk. 
  4363.  
  4364.    3. TIMESLICE=X,Y  This statement is not found in the CONFIG.SYS file after 
  4365.       you install OS/2 but is sometimes recommended to be added. This was okay 
  4366.       to add for OS/2 2.0, 2.1 or 2.11 systems, but not for OS/2 Warp. In Warp, 
  4367.       it dynamically modify a thread's time slice based on actions that have 
  4368.       occurred. For instance, if a thread took a page fault during it's time 
  4369.       slice, an extra time slice is granted to process what is contained in the 
  4370.       faulted page. An applications doing disk I/O is given an extra time 
  4371.       slices if the data they are reading is in the disk cache. When the 
  4372.       TIMESLICE parameter is used, none of these actions will occur. Instead, 
  4373.       each thread will be given the minimum time slice of X, and its time slice 
  4374.       will not be allowed to go beyond value Y. 
  4375.  
  4376.    4. PRIORITY=DYNAMIC  If DYNAMIC is not specified, then each thread will 
  4377.       receive a minimum and maximum time slice of 32 milliseconds with no 
  4378.       additional time slices as described in the TIMESLICE= statement 
  4379.       description above. 
  4380.  
  4381.    5. DEVICE=C:\OS2\BOOT\VDISK.SYS  This statement allocates a virtual disk in 
  4382.       your computers physical memory. It is used for quick access to often-used 
  4383.       files and programs. This was good for a DOS environment where the extra 
  4384.       memory in your computer was not used by DOS, but OS/2 uses this memory, 
  4385.       and your performance can be adversely affected if a VDISK is used. It is 
  4386.       much better to increase the size of the disk cache if you have unused 
  4387.       physical memory than it is to use VDISK. 
  4388.  
  4389.  Now let us look at statements in CONFIG.SYS which you should change to help 
  4390.  improve the performance of your Warp system. 
  4391.  
  4392.    1. LIBPATH=  This tells the system where to find DLL files and disk device 
  4393.       drivers that Warp and applications use. Place the directory names in 
  4394.       order of usage. The most accessed directory should be first, the least 
  4395.       used last. If possible, place the DLL used by a program in the same 
  4396.       directory as the working directory when the program is running. Then, you 
  4397.       do not need to add that directory to the LIBPATH statement. Also, place 
  4398.       all directories that are on a network at the end of your LIBPATH 
  4399.       statement in case the network goes down and they cannot be accessed. See 
  4400.       the discussion of dynamic LIBPATH support later on in this paper for 
  4401.       additional considerations when accessing network drives. 
  4402.  
  4403.    2. PATH=  is used to specify where Warp searches for program executable 
  4404.       files, EXE, COM, CMD, BAT, etc.  Place the directories in order of most 
  4405.       used first, least used last. If programs will be executed from an object 
  4406.       on your desktop or folder, specify the path there and not in the PATH 
  4407.       statement. Only place directories in the PATH statement for executables 
  4408.       that will be called from other programs or commands. 
  4409.  
  4410.    3. DPATH=  The same principle applies to DPATH as PATH and LIBPATH.  For 
  4411.       resources that applications use, place the most used directories first 
  4412.       and the least used last. 
  4413.  
  4414.    4. BUFFERS=90  Buffers are physical memory used to support partial sector 
  4415.       reads and writes in a FAT file system environment. They are also used to 
  4416.       cache FAT directory entries and for swap file disk I/O. Because BUFFERS 
  4417.       are used to cache FAT directory entries, this number should not be 
  4418.       reduced below 60, unless you are not using the FAT file system on your 
  4419.       disks. Reducing this number will increase the number of disk reads that 
  4420.       are done to the FAT directory entries and therefore slow down your 
  4421.       system. 
  4422.  
  4423.    5. MAXWAIT=3  This specifies the maximum amount of time that a thread will 
  4424.       be in a ready-to-run state without receiving a time slice to run in. 
  4425.       After this time expires, the thread will be given a boost in priority so 
  4426.       it gets a chance to run. Reducing this value to 2 may help in systems 
  4427.       where there are a lot of programs running, or multiple separate 
  4428.       DOS/Windows programs running. Reducing it to 1 on systems where there is 
  4429.       swap activity taking place can slow down the system. 
  4430.  
  4431.    6. DISKCACHE=D,LW,T,AC  This is used to specify the amount of physical 
  4432.       memory set aside to cache data that is being read from or written to 
  4433.       disk. D represents a dynamic disk cache value that varies in size from 
  4434.       48K to 14400K, based on the amount of physical memory you have in your 
  4435.       system. If you have more than 8 MB in your system, D will be 10% of your 
  4436.       system's physical memory. The D should be changed to the actual amount of 
  4437.       disk cache space you require. If you have a system where your programs do 
  4438.       not do much disk I/O or where your memory is being used up by your 
  4439.       applications, you may want to set this value to 128. Also, reduce this 
  4440.       value if you are using the DB/2 product or any other product that 
  4441.       provides its own disk data caching. The T parameter is not defined in the 
  4442.       default CONFIG.SYS file. It defines the  cache threshold for records that 
  4443.       go into the cache. The default value is 4. This means that any record 
  4444.       that is 4 sectors or less will go into the cache, while those greater 
  4445.       will not. If your disk cache size is 128K or larger, add this parameter 
  4446.       to the disk cache statement. If known, set this value to the largest 
  4447.       record size used. Otherwise, set the value to 32. The LW parameter 
  4448.       activates the Lazy Write or write behind feature. This allows the 
  4449.       application to get control back before the data is actually written to 
  4450.       disk. A separate thread will write the data from the cache to the disk 
  4451.       when necessary or opportune to do so. You should always use this option, 
  4452.       and code any applications to open files with cache bypass option if disk 
  4453.       data security is imperative. 
  4454.  
  4455.    7. SWAPPATH=D,R,S  SWAPPATH specifies where code and data pages are swapped 
  4456.       to on disk when more physical memory is needed than is available in your 
  4457.       system. D represents the path where your SWAPPER.DAT file is located. For 
  4458.       systems which have multiple partitions or multiple disks, this should be 
  4459.       placed on the least used  directory of the least used disk. Also, try to 
  4460.       physically locate the swap file on the disk based on its usage. If you 
  4461.       are doing a lot of swap activity, place the swap file at the start of the 
  4462.       disk. If is it rarely used, place it at the end. S is the size that the 
  4463.       swap file is initialized to when you start your Warp system. Make this 
  4464.       large enough so that it does not have to grow in size while you are 
  4465.       running your programs. You should perform your normal computer functions 
  4466.       and look at the size of the swap file when you have the most activity. 
  4467.       Then set the value of the S to this size in the CONFIG.SYS file. If you 
  4468.       are using the FAT file system, IPL your system under DOS, delete the 
  4469.       SWAPPER.DAT file, defragment the disk partition where the swap file will 
  4470.       be located, and then IPL your OS/2 system. This should keep your swap 
  4471.       file from getting fragmented. R specifies the amount of free space that 
  4472.       must be in the swap file. The default for this value is adequate and only 
  4473.       needs to be changed if you want to be warned earlier about a possible 
  4474.       out-of-memory situation. 
  4475.  
  4476.    8. THREADS=  THREADS defines how many threads the system will be able to 
  4477.       use.  One page of resident memory is need for approximately every 32 
  4478.       threads that are defined. As a minimum, you will need 80 threads to 
  4479.       support the base Warp system and 3 or 4 OS/2, DOS and or Windows 
  4480.       applications. The system will support up to 64000 threads, but typically 
  4481.       you will not have enough memory in your system to support more than 300 
  4482.       to 500 threads. 18 threads are required for LAN Server 4.0. To calculate 
  4483.       the number of threads that you will need in your system, use the formula 
  4484.       54+(2xN)+10 where N is the number of programs that you will run together. 
  4485.       If the program requires more than 2 threads, add in the additional 
  4486.       threads. 
  4487.  
  4488.  Additional CONFIG.SYS Considerations: 
  4489.  
  4490.    1. You should only install the devices drivers that your programs actually 
  4491.       need to run. 
  4492.  
  4493.    2. Do not install extra communication, printer, video or device drivers if 
  4494.       they will not be used. Below are a list of device drivers and virtual 
  4495.       device drivers that are normally found in CONFIG.SYS and that may not be 
  4496.       needed. (Virtual device drivers are used to support DOS and Windows 
  4497.       applications and usually have a V at the beginning of their name.) 
  4498.  
  4499.         a. VEMM.SYS  Used to support Expanded Memory use in DOS and Windows 
  4500.            programs. 
  4501.  
  4502.         b. VXMS.SYS  Supports Extended Memory in DOS and Windows applications. 
  4503.  
  4504.         c. VDPMI.SYS  Supports the DPMI memory access and is required to 
  4505.            support all Windows applications. 
  4506.  
  4507.         d. VW32S.SYS  Supplies support for the WIN32S Windows APIs. Not needed 
  4508.            for Windows programs that do not use WIN32S APIs. 
  4509.  
  4510.         e. IBMxFLPY.ADD  x will be either a 1 or a 2. 1 is used for family 1 
  4511.            machines and 2 is for MCA machines. You do not need both. 
  4512.  
  4513.         f. XDFLOPPY.FLT  This is required for reading diskettes which are 
  4514.            written using the XDF (Extended Disk Format) format. These are 
  4515.            usually OS/2 and PCDOS 7 installation diskettes, printer and video 
  4516.            driver diskettes. The Warp Install and Disk 1 diskettes do not use 
  4517.            the XDF format. 
  4518.  
  4519.         g. COM.SYS and VCOM.SYS are only required if you will be doing serial 
  4520.            or async  communications. 
  4521.  
  4522.  If you use the selectable CONFIG.SYS option in the Archive and Retrieve 
  4523.  feature of Warp, it is possible to create multiple CONFIG.SYS files which will 
  4524.  contain different device drivers based on your needs. For example, you could 
  4525.  create one CONFIG.SYS file that is used for maintenance and installation. This 
  4526.  one would include the XDFLOPPY.FLT and both IBMxFLPY.ADD drivers plus 
  4527.  additional threads. Another CONFIG.SYS used for normal processing could have 
  4528.  these device drivers removed and a lower number of threads. When maintenance 
  4529.  has to be applied to the system, or some additional new products installed, 
  4530.  you could IPL the machine with the Archive and Retrieval menu active and 
  4531.  select the proper CONFIG.SYS to be used. An extension of this would be to 
  4532.  archive the CONFIG.SYS and the OS/2 INI files and select those to apply 
  4533.  maintenance. 
  4534.  
  4535.  Note:  DO NOT assume that the Archive and Retrieve feature of Warp acts as a 
  4536.  means to backup the desktop. In the event of a complete disk failure, only 
  4537.  backup images stored off line can be depended upon. 
  4538.  
  4539.  
  4540. ΓòÉΓòÉΓòÉ 14.3.2. Desktop Settings ΓòÉΓòÉΓòÉ
  4541.  
  4542. Let's look at some of the System Settings and Desktop settings that can be 
  4543. tuned to improve a system's performance. In the System Setup Folder there are 
  4544. many utilities that are available. 
  4545.  
  4546. Add "SET RESTARTOBJECTS=STARTUPFOLDERSONLY" in your CONFIG.SYS to keep OS/2 
  4547. from restarting at bootup all previous open application. 
  4548.  
  4549. Spooler:  The drop-down menu provides an option to disable the spooler. This 
  4550. can be done without problems when only one job will be active on your printer 
  4551. at a time. This will save a little bit of memory and one process and thread in 
  4552. your system. If you have a dedicated print spool machine, then you should raise 
  4553. the priority of the spooler to it's highest point. For non-dedicated print 
  4554. spool systems, the priority should remain at the default. You would only 
  4555. increase this if (for example) you raised the subpriority of a DOS session and 
  4556. wanted to print documents while running the DOS session. In this case, you 
  4557. would want to make the priority of the print spooler the same as the DOS 
  4558. session. 
  4559.  
  4560. Schemes and Color Pallet:  You should use solid colors and avoid the use of 
  4561. bitmaps for desktop and folder backgrounds when conversing memory. These 
  4562. particular options use more memory and require more processing time to display 
  4563. them. 
  4564.  
  4565. Sounds:  Deselect the System Sounds options, unless you like the noises when 
  4566. opening and closing your folders. It costs between 250 and 300K in working set 
  4567. just to hear the noise. An additional 40K or so of working set can be saved by 
  4568. executing DINSTSND.CMD in an OS/2 command session. This will unhook the system 
  4569. sounds from the OS/2 desktop. To get them back, you would execute INSTSND.CMD. 
  4570.  
  4571. Font Palette:  Only install the fonts that you will actually use in your 
  4572. system. Also, try not to mix fonts in folders or on the OS/2 Desktop. If you 
  4573. do, you will be using extra memory. Outline fonts tend to be a little smaller 
  4574. in terms of memory than bitmap fonts and once they are in the cache, they 
  4575. perform just as fast. 
  4576.  
  4577. WIN-OS/2:  When defining a Windows program, select common sessions and make DDE 
  4578. and Clipboard support both private. If floating-point is used in your Windows 
  4579. applications, use the enhanced run mode for Windows. Also, if you have a 
  4580. Windows application that you always run, it is better to start it via the 
  4581. Startup Folder than to use the Fast Load option and start it from the Desktop. 
  4582. Finally, ensure that when you migrate, install or add Windows programs to you 
  4583. system, that the run mode for these is the same as the common session run mode. 
  4584. If run modes are different, then you will have two separate Windows sessions 
  4585. running even though you stated that a common session is to be used. 
  4586.  
  4587. System Setup:  Disabling the Animation and Print Screen option can save a 
  4588. little in code path and memory. Setting the System Logo option to none can save 
  4589. some time when loading applications that check this parameter to see how long 
  4590. to display their applications logo. The type-ahead option will use a little 
  4591. more memory. When selecting screen resolutions, remember that the higher the 
  4592. resolution, the more memory that is used.  Very high resolution and color 
  4593. support can require 100 to 200K of physical memory. 
  4594.  
  4595. Mouse:  Mouse pointers are basically bitmaps. The amount of memory used will be 
  4596. affected by which mouse pointer style you choose. If you activate the comet 
  4597. cursor, this will cost additional memory and processing time whenever the mouse 
  4598. is being used. 
  4599.  
  4600. Desktop Settings:  Desktop settings are selected by choosing the Settings 
  4601. option on the Desktop menu. Choosing Automatic Lockup will cause extra code 
  4602. path and processing time to occur. Normally this is very minimal, until the 
  4603. time-out value expires. Then you are looking at about 40 to 50K of working set. 
  4604. If you select Create Archive on system restarts, this will slow down your 
  4605. systems IPL time. You want to set this option only when you have changed your 
  4606. desktop and/or configuration and want to save it. Once it has been saved, turn 
  4607. this option off. You can get to the Archive Retrieve menu screen when you IPL 
  4608. your machine by using the ALT+F1 key sequence. 
  4609.  
  4610. Conclusion: 
  4611.  
  4612.    1. All the bells and whistles, neat features, applications and devices come 
  4613.       at a cost. They all cost disk space, they all use memory, and they all 
  4614.       have the potential for slowing your system down. 
  4615.  
  4616.    2. To minimize this, plan ahead. Decide what the system will be used for and 
  4617.       what your future uses will be. Then, set up the system accordingly. 
  4618.  
  4619.    3. Install only the things that you are actually going to use and need. 
  4620.       Ensure that there is a match between the software you install and the 
  4621.       hardware you install it on. 
  4622.  
  4623.    4. If an application or feature cost more memory than you have, either don't 
  4624.       install the feature, or get more memory for your system. 
  4625.  
  4626.    5. Be creative and logical. You can set the system up with different 
  4627.       configurations and different support, defined to optimize performance 
  4628.       based on the particular functions you perform and applications you use. 
  4629.  
  4630.    6. Finally, become aware of what Warp has to offer and use it to your 
  4631.       advantage. 
  4632.  
  4633.  
  4634. ΓòÉΓòÉΓòÉ 15. Glossary ΓòÉΓòÉΓòÉ
  4635.  
  4636.    1. Virtual Memory refers to the concept that available disk space is used to 
  4637.       hold inactive memory while demanding active memory can be serviced. This 
  4638.       is managed in cooperation by both the operating system (OS/2) and the 
  4639.       CPU. OS/2 deploys and takes advantage of a true Virtual Memory model by 
  4640.       using the OS/2 Swap file for temporarily holding over-committed and 
  4641.       inactive memory. 
  4642.  
  4643.    2. Swapping is a normal activity for any computer. A machine with little 
  4644.       memory (ie. 8 MB) may experience heavy "swapping". This occurs when the 
  4645.       operating system spends (more) time swapping than allowing actual work to 
  4646.       be done by the user. Install more memory. Following the Least Recently 
  4647.       Used (LRU) algorithm, OS/2 memory management will identify individual 4 
  4648.       KB memory pages as being "swappable". When not enough REAL memory is 
  4649.       present for more demanding memory pages, OS/2 swaps-out the least used. 
  4650.  
  4651.    3. Real Memory refers to the amount of physical memory installed in the 
  4652.       computer and is used in comparison to Virtual Memory. 
  4653.  
  4654.    4. Free Memory refers to the amount of actual free REAL memory available to 
  4655.       OS/2 and OS/2 programs. This will never be shown as a number higher than 
  4656.       the amount of physical memory installed in the computer. 
  4657.  
  4658.    5. Resident Memory refers to the amount of REAL memory which is not 
  4659.       swappable nor discardable usually belonging to the operating system 
  4660.       (OS/2) or applications which created the memory as non-swappable. For 
  4661.       performance reasons, the operating system will maintain critical and 
  4662.       highly active memory as Resident memory. 
  4663.  
  4664.    6. Swappable Memory refers to the amount of REAL memory which is identified 
  4665.       as noncritical or Least Recently Used (LRU algorithm) memory pages 
  4666.       capable of being swapped-out to the OS/2 swapper file until the memory is 
  4667.       in demand. The term is synonymous with "discardable" memory. 
  4668.  
  4669.    7. Print Spooler is a facility which facilitates directing print output to a 
  4670.       particular print queue without having to wait for the printer to receive 
  4671.       and print the output. 
  4672.  
  4673.    8. Print Queues are an intermediate holding place for print jobs. Related to 
  4674.       the Print Spooler, there is a 1-to-1 relationship between a Print Queue 
  4675.       and a physical printer. When a print job gets spooled into a particular 
  4676.       print queue, the print job can be automatically printed, place on hold, 
  4677.       or subsequently released for printing. 
  4678.  
  4679.    9. Process refers to 1 instance of an executing program. Every Process is 
  4680.       assigned a unique ID (hence Process ID or PID) by the operating system 
  4681.       (OS/2). Every Process ID has at least 1 Thread. A process can launch 
  4682.       another process. This makes the launching process the parent and the 
  4683.       launched process the child. Hence Parent Process ID or PPID. 
  4684.  
  4685.   10. Threads are functions created by a Process and execute asynchronous to 
  4686.       the Process.  A Process has by default 1 thread, but can create many. 
  4687.       Threads of a process have a finite life and terminate when the main 
  4688.       process ends. Every Thread is assigned a unique ID (hence Thread ID or 
  4689.       TID) by the operating system (OS/2). Each thread will have a "state" 
  4690.       which identifies whether the thread is active or waiting for a time slice 
  4691.       to be granted by OS/2. 
  4692.  
  4693.   11. Sessions are unique instances of a process which have a "screen group". A 
  4694.       Process with a Screen Group has a virtual keyboard, screen, and mouse. 
  4695.       Unlike "Detached" (Daemon) processes which execute completely in the 
  4696.       background, have no form of user input or output and are not always 
  4697.       visible to the user. When a process within a Session launches another 
  4698.       process asynchronously, the child process is assigned a unique Session ID 
  4699.       or SID. Launched synchronously, the child process inherits the same 
  4700.       Session ID as the parent. 
  4701.  
  4702.   12. Process Monitor allows the user to view the many attributes associated 
  4703.       with 1 or more Processes and their respective Threads. OS/2 maintains a 
  4704.       "Process Table" to keep track of all the processes and threads executing. 
  4705.       PM Patrol provides a very robust Process Monitor facility. Every possible 
  4706.       process and thread attribute can be monitored. 
  4707.  
  4708.   13. Time Slice refers to the operating system (OS/2) granting a process 
  4709.       thread a certain amount of CPU execution time in a multitasking 
  4710.       environment. This capability allows the user to work simultaneously on 
  4711.       many tasks. A Process can set his priority level so that OS/2 will grant 
  4712.       more time, more often. This granting of time slices is known as the 
  4713.       "Scheduler" in an operating system. 
  4714.  
  4715.   14. The OS/2 Scheduler is a very robust algorithm and integral operating 
  4716.       system component capable of servicing time critical applications in the 
  4717.       most demanding real-time environments. This, combined with stability, 
  4718.       connectivity, and maturity is why OS/2 is useful for mission critical 
  4719.       systems. 
  4720.  
  4721.   15. Preemptive Multitasking in OS/2 provides the ability to "preemptively" 
  4722.       interrupt one process without it's knowledge or control to allow another 
  4723.       process a time slice. DOS+Windows and Windows-95 attempt to preemptively 
  4724.       multitask, but suffer from architectural flaws which render them more 
  4725.       "cooperative" multitasking operating systems. True preemptive 
  4726.       multitasking operating systems such as OS/2, Windows NT, and UNIX, lend 
  4727.       themselves to mission critical and time sensitive applications. 
  4728.       Multimedia is a good example of a time sensitive application. 
  4729.  
  4730.  
  4731. ΓòÉΓòÉΓòÉ 16. Trouble Shooting ΓòÉΓòÉΓòÉ
  4732.  
  4733. This section discusses topics of potential difficulty, compatibility, and 
  4734. idiosyncrasies of PM Patrol features. Everyone should read this section. 
  4735.  
  4736. The Float to Top option does not work when the E.EXE editor is active or causes 
  4737. a 3175 error. Due to a bug in the E.EXE editor under OS/2 version 2.1 and 2.11, 
  4738. PM Patrol temporarily disables the "Float to Top" option while E.EXE is the 
  4739. active window. This bug in E.EXE is fixed in OS/2 Warp 3.0.  If this problem 
  4740. surfaces: 
  4741.  
  4742.    1. Change the "Process Monitors" in PM Patrol's "Refresh Settings" to a 
  4743.       lower value such as 3 or 4 seconds. 
  4744.  
  4745.    2. Or, turn off the "Float to Top" in the PM Patrol "Options" dialog. 
  4746.  
  4747.  A running program's priority is different than that specified in the Program 
  4748.  Launcher or Scheduler. 
  4749.  
  4750.  Note:  Once launched, a program can change it's own priority Class and Range 
  4751.  settings. This means that PM Patrol sets the program's "default" priorities 
  4752.  with those that you select, but does not control it after the program has been 
  4753.  launched. A good example of this is running Windows programs. The Win-OS/2 
  4754.  environment will typically change the priority to "Regular" for both Class and 
  4755.  Range. Therefore, Windows programs can NOT be controlled by PM Patrol for 
  4756.  priority control. 
  4757.  
  4758.  Free Memory ALWAYS reports 0 KB or maximum KB available: 
  4759.  
  4760.    1. OS/2 views memory as a flat linear address space and deploys a true 
  4761.       Virtual Memory Model. Because of this, calculation of Free Memory is 
  4762.       subject to the following constraint. 
  4763.  
  4764.       Note:  If your system hardware consists of MORE than 16 MB of memory and 
  4765.       the hard disk controller is a 16-bit adapter, Free Memory calculation may 
  4766.       not be accurately reported. Use a 32-bit disk controller when more than 
  4767.       16 MB RAM is installed. 
  4768.  
  4769.  Using another CPU monitor program causes questionable CPU results to be 
  4770.  reported by PM Patrol: The PM Patrol CPU monitor does not co-exist well when 
  4771.  other CPU monitors are used. This is nothing against PM Patrol or other CPU 
  4772.  monitors, it's just the nature of the monitor and how a CPU monitor works. 
  4773.  They are not designed to "compete" with each other. PM Patrol is "aware" of 
  4774.  other CPU monitors when they are active such as (Pulse, SPM/2, and several 
  4775.  others). When PM Patrol recognizes that another CPU monitor is active, PM 
  4776.  Patrol relinquishes CPU monitoring to this alternative monitor while it is 
  4777.  active. After which, PM Patrol will automatically restart it's CPU monitor. 
  4778.  
  4779.  Not all Monitor display items can fit on the PM Patrol Status Line: 
  4780.  
  4781.    1. PM Patrol does not expect anyone user to desire ALL PM Patrol monitors on 
  4782.       the Status Line at once and therefore does not attempt to claim they all 
  4783.       fit. However, there are a number of things that can help. 
  4784.  
  4785.    2. Enable the "Display Compact" option under "Status Line Options" of PM 
  4786.       Patrol. When enabled, all Status Line abbreviations such as "Ram", "Swp", 
  4787.       "Net", and others are removed. This option was specifically designed to 
  4788.       address this issue. 
  4789.  
  4790.    3. Depending on the font you have selected, this may be true. Try using a 
  4791.       smaller font - perhaps a VIO style font. The 2.VIO font is the smallest 
  4792.       font for a VGA system. 
  4793.  
  4794.    4. Using the "Show Decimal" option for Status Line monitors, turn this 
  4795.       option off allowing PM Patrol to round values and will free-up some 
  4796.       Status Line space. 
  4797.  
  4798.    5. Another option is to turn off the "Graphical" display of free memory or 
  4799.       CPU usage. This will then display the numeric values only. 
  4800.  
  4801.    6. If there are a lot of drives on-line, turn off the "Drives On-line" 
  4802.       monitor of PM Patrol. 
  4803.  
  4804.  PM Patrol displays Drive B when no physical Drive B exists: OS/2 supports two 
  4805.  "logical" floppy drives. A and B, even if drive B is nonexistent. In fact, if 
  4806.  you were to type "Dir B", OS/2 will prompt you to insert a diskette into drive 
  4807.  B. This demonstrates 1 physical but 2 logical drives. 
  4808.  
  4809.  Your system seems to constantly show excess CPU usage via the PM Patrol CPU 
  4810.  monitor: 
  4811.  
  4812.    1. It's not unusual with today's diverse software, multimedia, and the 
  4813.       ability to run DOS/Windows under OS/2, to see constant CPU usage. Use the 
  4814.       PM Patrol Process Monitor window to identify culprits of CPU activity. 
  4815.  
  4816.    2. Check to make sure the PM Patrol refresh rates found in "Refresh 
  4817.       Settings" are not set at their absolute most minimum values. These 
  4818.       minimum values can be too aggressive on 386-33 MHz systems (or less). 
  4819.  
  4820.    3. Make sure your not running another CPU monitor in addition to PM Patrol. 
  4821.       If you must, turn off the "CPU Monitor" in the PM Patrol "Options" 
  4822.       dialog. 
  4823.  
  4824.  With all PM Patrol Monitor windows (Process Monitor, Memory Monitor, and 
  4825.  Network Monitor) active and automatically refreshing, may be too much overhead 
  4826.  for some slower 386 class computers. Therefore, you may need to use these 
  4827.  windows selectively and not continuously. 
  4828.  
  4829.  Due to the nature and dynamics of OS/2's method of virtual memory swapping, PM 
  4830.  Patrol's calculation of free swap space is an approximation and may not result 
  4831.  in an exact calculation all the time. As compared to all PM Patrol's resource 
  4832.  monitors, swap utilization is the only one that may yield approximation. For 
  4833.  systems that are memory rich and therefore swap little, monitoring swap 
  4834.  utilization may not be necessary. 
  4835.  
  4836.  
  4837. ΓòÉΓòÉΓòÉ 17. Caveats ΓòÉΓòÉΓòÉ
  4838.  
  4839. PM Patrol is designed with special attention to performance and causes no 
  4840. system degradations when properly used. 
  4841.  
  4842. The PM Patrol defaults and minimum allowable settings for "Refresh Settings" 
  4843. protects you from system-wide degradation. However, setting the refresh rates 
  4844. at their minimum values may be too aggressive for some low-end computers. The 
  4845. overhead for PM Patrol is no more than 1-2 percent CPU load (average over 1 
  4846. minute) and only during resource sampling. 
  4847.  
  4848. Note:  The CPU effort to collect Process Meter data, although minimal when 
  4849. active, can be negatively influenced by adjusting the "Process Monitors" 
  4850. frequency in PM Patrol's "Refresh Settings" dialog too low - depending on the 
  4851. computer. As a rule of thumb, set the "Process Monitors" frequency to the 
  4852. following, but never lower: 
  4853.  
  4854.    1. 5 seconds for i386 class computers 
  4855.  
  4856.    2. 4 seconds for i486 class computers 
  4857.  
  4858.    3. 3 seconds for Pentium class computers 
  4859.  
  4860.  The Process Monitor, Memory Monitor, and Network Monitor windows create minor 
  4861.  delays in the form of brief CPU spikes. These spikes are normal and can be 
  4862.  further controlled in the PM Patrol "Refresh Settings". 
  4863.  
  4864.  Note:  With all PM Patrol Monitor windows (Process Monitor, Memory Monitor, 
  4865.  and Network Monitor) active and automatically refreshing, may be too much 
  4866.  overhead for some slower 386 class computers. Therefore, you may need to use 
  4867.  these windows selectively and not continuously. 
  4868.  
  4869.  As with all our products, we are committed to supporting and enhancing PM 
  4870.  Patrol. Due to the nature of some of the PM Patrol features (i.e. Process 
  4871.  Monitor and Process Meter) and it's unique application, compatibility with 
  4872.  future versions of OS/2 can not be 100% guaranteed. 
  4873.  
  4874.  
  4875. ΓòÉΓòÉΓòÉ 18. What's new for PM Patrol ΓòÉΓòÉΓòÉ
  4876.  
  4877. This section outlines a historical record of new features and enhancements 
  4878. applied to the PM Patrol product. 
  4879.  
  4880. These items are new in PM Patrol version 4.0c: 
  4881.  
  4882.    1. This fix release will cause your PM Patrol profile settings to be 
  4883.       re-initalized, but will not effect the PM Patrol Program settings nor 
  4884.       Scheduler settings. Sorry for any inconvenience. 
  4885.  
  4886.    2. Fixed bugs in DCFUserDefined API and Refresh Settings for User Defined 
  4887.       frequency. 
  4888.  
  4889.    3. Fixed bug in Process Meter where the Run-Time Duration day was not being 
  4890.       incremented. 
  4891.  
  4892.    4. Added ability to turn off Event Renotification by specifying zero 
  4893.       seconds. 
  4894.  
  4895.  These items are new in PM Patrol version 4.0b: 
  4896.  
  4897.    1. Bug fix for situations where the month of January was being abbreviated 
  4898.       as "an" instead of "Jan". 
  4899.  
  4900.  These items are new in PM Patrol version 4.0a: 
  4901.  
  4902.    1. No functional changes were applied over version 4.0. This minor release 
  4903.       is optional for current 4.0 users. 
  4904.  
  4905.    2. Revised the online help section "Order and Pricing" and the text-based 
  4906.       file ORDER.FRM to reflect new methods of ordering PM Patrol. These 
  4907.       methods include Credit Card, Compuserve SWREG, personal check, and money 
  4908.       orders. 
  4909.  
  4910.    3. Revised online help to reflect improved PM Patrol support and obtaining 
  4911.       updates by itemizing FTP and other download sites posted to directly by 
  4912.       WallyWare. Refer to online help section "Support" for details. 
  4913.  
  4914.  These items are new in PM Patrol version 4.0: 
  4915.  
  4916.    1. Due to changes in PM Patrol's profile data (PMPATROL.INI) to accommodate 
  4917.       the new release, this profile data may be re-initialized to standard 
  4918.       defaults when the new release is first invoked. 
  4919.  
  4920.    2. Significant improvement in overall visuals and interpretation of system 
  4921.       resources. This includes emphasis on new graphing functions within the PM 
  4922.       Patrol Status Line and across several new PM Patrol windows. 
  4923.  
  4924.    3. Distinctly different monitor windows which focus on categories of 
  4925.       resources. These include: 
  4926.  
  4927.         a. Network Monitor window. Provides concentration for LAN Server/Client 
  4928.            I/O traffic workstation specifics. 
  4929.  
  4930.         b. Process Monitor window. Provides concentration for OS/2 active 
  4931.            processes, threads, CPU per process, DLLs loaded, and much more. 
  4932.  
  4933.         c. Memory Monitor window. Provides concentration for OS/2 memory 
  4934.            utilization for free/used real memory, swappable, free swap, 
  4935.            resident, and other memory related items. 
  4936.  
  4937.         d. Drives Monitor window. Provides concentration for disk drives 
  4938.            on-line, utilization per drive, location/file systems, summary per 
  4939.            drive, and drive maps. 
  4940.  
  4941.         e. Port Monitor window. Provides concentration for I/O traffic and 
  4942.            performance of LPT ports with the ability to monitor 1 or more ports 
  4943.            at the packet level. Using the new Debug facility, individual 
  4944.            packets can be monitored providing "data scope" capability. When 
  4945.            DBugging is enabled for a selected LPT port, an artificial delay (1 
  4946.            second) is inserted between each packet sent to the port. 
  4947.  
  4948.    4. New Process Meter features provides unattended operation and automatic 
  4949.       collection of process statistics for determining total and average 
  4950.       run-time, CPU consumption, and run-count instance over a user controlled 
  4951.       range of time. 
  4952.  
  4953.    5. New Activity Monitor graphs highly visible/critical OS/2 resources. This 
  4954.       facility provides a "bird's eye view" of overall system utilization. Drag 
  4955.       and drop the window for precise window positioning. 
  4956.  
  4957.    6. New CPU Magnification feature enables CPU monitoring at a selectable 
  4958.       granule level. Zoom into CPU effort for fast CPUs such as highend i486 
  4959.       and Pentium systems. Up to 50 times (50x) magnification. 
  4960.  
  4961.    7. Improved Fast Find facility allows execution of programs, viewing of INF 
  4962.       files, double click selection, and more. 
  4963.  
  4964.    8. New Fast Help facility which provides very fast access to a list of 
  4965.       available on-line help for OS/2 and Windows help files. Coupled with 
  4966.       search capability, this feature enables you quick access to highly 
  4967.       accessed help books. 
  4968.  
  4969.    9. New Status Line monitor items include: 
  4970.  
  4971.         a. OS/2 free Swap Utilization 
  4972.  
  4973.         b. HPFS386 Cache read and write statistics 
  4974.  
  4975.         c. Internet Connect Time when using a modem and the PPP or SLIP 
  4976.            protocols of the IBM Internet Access Kit. Provides the ability to 
  4977.            monitor and manually reset connect-time and accumulative monitoring. 
  4978.  
  4979.   10. New Debug Facility. The high-performance real-time debugging facility 
  4980.       that goes where the interactive debugger can not. PM Patrol's new Port 
  4981.       Monitor takes advantage of this facility allowing you "data scope" 
  4982.       capabilities on a per packet basis. 
  4983.  
  4984.   11. Improved on-line help including in-depth discussion of performance tuning 
  4985.       specifics for the OS/2 environment. 
  4986.  
  4987.   12. PM Patrol's Data Collection Facility (DCF) APIs have been enhanced to 
  4988.       reflect all new monitor items introduced with this release. Due to 
  4989.       changes in the DCF data structures (since version 3.0), previously 
  4990.       written programs which use PM Patrol's C/C++ APIs will require recompile 
  4991.       to reflect the new data structures. 
  4992.  
  4993.   13. New Event Monitor notifies you when critical system activities occur or 
  4994.       thresholds are exceeded. These include CPU, Swap growth, batter low, 
  4995.       virtual memory, low disk space, and more. 
  4996.  
  4997.   14. Miscellaneous new features provide: 
  4998.  
  4999.         a. Restart Desktop allows the ability to restart the OS/2 desktop and 
  5000.            optionally select different OS/2 INI locations. 
  5001.  
  5002.         b. Idle System CPU monitoring within PM Patrol's Process Monitor 
  5003.            window. When applications consume CPU, "Idle System" will decrease. 
  5004.            When your system sits idle, "Idle System" increases. 
  5005.  
  5006.         c. Sound Bites For MMPM/2 enabled systems, PM Patrol is multimedia 
  5007.            enabled providing notifications of events, window selections, and 
  5008.            more. 
  5009.  
  5010.         d. Filter-out Background processes in the Process Monitor window to 
  5011.            allow you to focus only on "Foreground" programs active on your 
  5012.            system. 
  5013.  
  5014.         e. New Auto-Popup Menu option for quick access to the PM Patrol Utility 
  5015.            popup menu on the Status Line. 
  5016.  
  5017.         f. New Confirmations option to suppress PM Patrol from prompting you 
  5018.            before taking selected actions. 
  5019.  
  5020.         g. WorkPlace Classes option provides the ability to browse through 
  5021.            registered WorkPlace Shell classes with the capability of 
  5022.            registering new classes or deregistering classes no longer needed. 
  5023.  
  5024.         h. Close All Folders option quickly closes all open OS/2 WorkPlace 
  5025.            Shell folders. This is similar to PM Patrol's ability to also 
  5026.            quickly Minimize or Maximize all open desktop windows. 
  5027.  
  5028.            Show Decimals option enables or disables PM Patrol displaying the 
  5029.            decimal position for several of the Status Line monitors. When 
  5030.            disabled, PM Patrol will apply standard rounding across effected 
  5031.            values. 
  5032.  
  5033.         i. Forced OS/2 Shutdown for safe and dependable system shutdown when 
  5034.            the normal OS/2 shutdown services are unresponsive. 
  5035.  
  5036.         j. Windows 3.1 Enhanced-execution support for both the Scheduler and 
  5037.            Program Launcher. 
  5038.  
  5039.         k. Recalibrate PM Patrol's CPU monitors when switching between 
  5040.            Turbo/Slow mode for certain systems. 
  5041.  
  5042.         l. Quick open/close of all PM Patrol monitor windows. 
  5043.  
  5044.         m. Self-awareness of other CPU monitors making PM Patrol even more 
  5045.            stable and it's ability to coexist in diverse environments. 
  5046.  
  5047.         n. Re-organization of menus and overall consistency making PM Patrol 
  5048.            easier to use and access to its features. 
  5049.  
  5050.         o. New command line utility called FDUMP which provides the ability to 
  5051.            dump the contents of any file and display the contents in both ASCII 
  5052.            and hex representation. This utility also understands fixed record 
  5053.            lengths. 
  5054.  
  5055.         p. Total customization of colors and fonts on a per window basis across 
  5056.            the PM Patrol product. 
  5057.  
  5058.         q. Run-Time of programs in the "Process Monitor" allows viewing the 
  5059.            duration for which processes have been actively running. 
  5060.  
  5061.         r. Improved Logging services with a new Log viewer able to view log 
  5062.            data while logging is active and view very large log files 
  5063.            efficiently and ability to log process level detail and CPU per 
  5064.            active process. 
  5065.  
  5066.         s. User Defined Monitor allows you to format your own monitor to have 
  5067.            it displayed on PM patrol's main Status Line and allow it to be 
  5068.            logged. 
  5069.  
  5070.         t. Better integration to OS/2 Warp WorkPlace Shell and access to 
  5071.            frequently used objects. 
  5072.  
  5073.  These items are new in PM Patrol version 3.0: 
  5074.  
  5075.    1. Fast Find w/out limits across multiple drives. 
  5076.  
  5077.    2. Improved Process Monitor window with graphical view of CPU utilization 
  5078.       per process and thread, and priority classification. 
  5079.  
  5080.    3. Drive map with graphical view of directories and their sizes 
  5081.  
  5082.    4. New Virtual memory and Resident memory monitors 
  5083.  
  5084.    5. IBM LAN Server support includes Network I/O monitor rates for 
  5085.       workstation, Network monitor current logged-on user, and Network monitor 
  5086.       current logged-on domain. 
  5087.  
  5088.    6. Improved Print Spooler functions with remote LAN capabilities. 
  5089.  
  5090.    7. Vastly improved logging capabilities and Free Memory calculation. 
  5091.  
  5092.    8. Monitor up to six (6) logical drives. 
  5093.  
  5094.    9. Robust Program Scheduler with program priority control. 
  5095.  
  5096.   10. Security features to keep unwanted changes being made to PM Patrol 
  5097.       settings. 
  5098.  
  5099.   11. Windows 3.1 support for both the Scheduler and Program Launcher. 
  5100.  
  5101.   12. Data Collection Facility with APIs for real-time access to ALL PM Patrol 
  5102.       monitors and statistics. 
  5103.  
  5104.   13. New startup parameters offer background execution for DCF-only needs and 
  5105.       real-time responsiveness. 
  5106.  
  5107.   14. Complete printing support for local or LAN printers 
  5108.  
  5109.   15. New and improved PM Patrol Installation facility 
  5110.  
  5111.  Note:  The on-line help contains a section called "Trouble Shooting". It 
  5112.  discusses topics of potential difficulty, compatibility, and idiosyncrasies of 
  5113.  PM Patrol features. Everyone should read this section. 
  5114.  
  5115.  
  5116. ΓòÉΓòÉΓòÉ 19. Acknowledgments ΓòÉΓòÉΓòÉ
  5117.  
  5118. (c)SPM/2 and MMPM/2 for OS/2 are offered by IBM Corporation. 
  5119.  
  5120. (c)IBM LAN Server and (c)IBM LAN Requester are OS/2 network components offered 
  5121. by IBM Corporation. 
  5122.  
  5123. Windows (tm), Windows-95 (tm), and Windows NT (tm) are offered by Microsoft 
  5124. Corporation. 
  5125.  
  5126.  
  5127. ΓòÉΓòÉΓòÉ 20. Special Thanks ΓòÉΓòÉΓòÉ
  5128.  
  5129. We would like to express our sincere appreciation to everyone who assisted in 
  5130. the production of this release. Particularly, a special thanks to: 
  5131.  
  5132.    Mike Coane
  5133.    Aron Eisenpress
  5134.    Robert Finicle
  5135.    Donald Gregory
  5136.    Jeff McCauley
  5137.    Mark Saliture
  5138.    Nelson Searles
  5139.    Larry Wright
  5140.  
  5141.    Jen and Kyle
  5142.